My goal is to take GWT-EXT maps functionality offline (run on
localhost).
I have accomplished this using OpenLayers GWT (openlayers_gwt-0.4.jar
& OpenLayers.js) with GeoServer backend. I prefer not to use it
because of its lack of javadocs documentation and sole support for
OpenLayers.
Does anyone know how I can take GWT-EXT maps functionality offline?
This is what I've done so far:
(1) unzip gwtext-2.0.6.zip
(2) Imported ~/gwtext-2.0.6/samples/Maps/* into my eclipse project
(3) change line "<script type="text/javascript" src="http://
openlayers.org/api/OpenLayers.js"></script>" to "<script
src="OpenLayers-2.8/OpenLayers.js" type="text/javascript"></script>"
(4) Now to my real questions and issues!
For maps/imagery I can use .OSM files from OpenStreetMaps or refer to
my own image files on the localhost. I can draw polylines (GWT-EXT
OpenLayersMap does not currently support!?) on top of OpenStreetMap.
How can take OpenStreetMap offline like I've done for OpenLayers? Is
there a javascript source file and how can I change the GWT-EXT sample
maps source to reflect this?
When I create a new instance of OpenStreetMaps map how do I get it to
stop referencing this external URL source API?
Does anyone know if it is possible to draw Polylines on top of
OpenLayers with GWT-EXT?
Thanks for your help! This has been a deal breaker for me but I feel
it is solvable! GWT-EXT is elegant and well documented so I would
like to continue along this path. If there is a better way to
approach this problem I would like to know.
Thanks,