[OpenMap Users] RE: Fancy

From: Tyler, Sean W (IS) <Sean.Tyler_at_email.domain.hidden>
Date: Fri Jan 27 2012 - 14:15:28 EST

Bill -

Yes you can do tiled zooming. If you extend the OMMouseMode and override the mouseWheelMoved, you can then zoom in or out to the next set of tiles by calling:

float scale = MapTileMaker.getScaleForZoom(zoomLevel);
map.setScale(scale);

You will need to keep track of the current zoom level but that should be fairly easy.

--Sean

-----Original Message-----
From: Sutphin, William B CIV NUWC NWPT [mailto:william.sutphin@navy.mil]
Sent: Friday, January 27, 2012 10:50 AM
To: openmap-users@bbn.com
Subject: EXT :[OpenMap Users] Fancy

Hi

Does OM have the ability to do fancy tiled zooming in and out like Google Earth or World Wind? I'm a little naïve on the subject, but of course everyone that uses my GIS application asked about it.

Bill

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jan 27 14:22:26 2012

This archive was generated by hypermail 2.1.8 : Fri Jan 27 2012 - 14:22:26 EST