Biểu trưng OpenStreetMap OpenStreetMap

New Slippy Map

Do robotnic đăng vào 08 tháng 12 năm 2008 bằng English.

Hi all

I made a new Slippy Map.
The new thing is, that it's possible to zoom in an out very fast.
At least at my computer it works excellent.

Turn your mouse wheel at:

http://lamp2.fhstp.ac.at/~lbz/beispiele/ws2008/oomap4/index.php

On my 1 GHz Celeron Laptop it zooms with about 15 frames/second.

I tested it with Firefox 2.0, Internet Explorer 6.0 (Linus/Wine - strange error with missing tiles), Opera, Konqueror (no wheel mouse support) Ubuntu Linux.

Keycodes, mouse scrollspeed, ... are maybe different on different system - it's a beta version.

Feedback is welcome.

Bernhard

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của DrMark vào 8 tháng 12 năm 2008 lúc 23:28

Yes, that's very impressive.

You might consider to give a fast scroll, maybe, also & , if you want even more work to do :)

Well done!

Mark

Bình luận của Alexander Hunziker vào 8 tháng 12 năm 2008 lúc 23:31

Yes, zooms very nicely. I think though it should snap to the zoom levels as they are rendered -- the maps don't look good if they aren't shown pixel-to-pixel.

Bình luận của robotnic vào 8 tháng 12 năm 2008 lúc 23:50

Fast scroll works very well on my computer.
There is an extra speed boost if you turn the mouse wheel very fast.
On my computer I have a mouse wheel area on my touchpad and that can be very different to real mouse wheel.

If you hold the ALT-Key it zooms 10 times faster now if you turn the wheel.

Bình luận của robotnic vào 8 tháng 12 năm 2008 lúc 23:57

snap to zoom:

Snap:

If you use doubleclick it snaps to a good looking zoom levels.

I know, that's a problem - but how to solve it? It's not a question of how to do the javascript code, it's a usability question.

Bình luận của patrickhanft vào 9 tháng 12 năm 2008 lúc 04:35

Hey, it really looks great. But on the other hand it lacks my favourite feature of the current openlayers slippy map, which is the "hold Shift and drag a rectangle with mouse button pressed around the area you wish to zoom into". Maybe that could be added?

Bình luận của wallclimber21 vào 9 tháng 12 năm 2008 lúc 05:54

Works nice on my MacMini, except that the mouse scroll wheel doesn't work

Bình luận của HannesHH vào 9 tháng 12 năm 2008 lúc 10:22

Very nice!
I agree about the scroll-zoom being too slow. With ALT it is perfect for me.
Also I agree that snapping to the zoomlevels would be great. The soft zoom is a sweet effect (always missed it).

(I never knew about the Shift-Drag zoom selection for the normal slippy map, that is awesome.)
When holding Shift on yours I get rectangles being drawn and no way to stop them. :)

Bình luận của Alexander Hunziker vào 9 tháng 12 năm 2008 lúc 12:01

Can you force the browsers to use bilinear scaling instead of the default nearest neighbour?

Đăng nhập để nhận xét