RE: [OpenMap Users] RE: Fancy

From: <phil.kelso_at_l-3com.com>
Date: Fri, 27 Jan 2012 13:31:23 -0600

Be warned that Openmap drawing takes place in the CPU via Swing. It does not use OpenGL to draw on the GPU. Zooming in and out via mouse wheel will seriously lag.

-----Original Message-----
From: Tyler, Sean W (IS) [mailto:Sean.Tyler_at_ngc.com]
Sent: Friday, January 27, 2012 1:15 PM
To: Sutphin, William B CIV NUWC NWPT; openmap-users_at_bbn.com
Subject: [OpenMap Users] RE: Fancy

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_at_navy.mil]
Sent: Friday, January 27, 2012 10:50 AM
To: openmap-users_at_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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jan 27 2012 - 14:31:40 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:10 EDT