I believe I've seen this question in the past but can't seem to locate it.
When using the Exhibit MapView, with a mapConstructor function, and the
GMenuMapTypeControl, then the map controls disappear when selecting other
views (Timeline, Tile, Tabular) and then going back to the Map view.
All works fine with other map type controls (such as GMapTypeControl and
GHierarchicalMapTypeControl) and all works fine with other options set in
the mapConstructor function (such as map.addControl(new GScaleControl()); or
map.enableScrollWheelZoom();) I'm just guessing here but this leads me to
believe it's a javascript/jQuery problem, potentially through a conflict
with Google Maps API and Exhibit. My mapConstructor function is rather
simple:
function newMapConstructor(mapDiv){
map = new GMap2(mapDiv);
map.setCenter(new GLatLng(39.2,-75.4), 8);
map.addControl(new GLargeMapControl3D());
map.addControl(new GMenuMapTypeControl());
map.addControl(new GScaleControl());
map.addMapType(G_PHYSICAL_MAP);
map.setMapType(G_PHYSICAL_MAP);
}
Has anyone else seen this problem? Has anyone tried to solve it? ;)
- John
**************************************************
John Callahan, Geographic Information Scientist
Delaware Geological Survey, University of Delaware
URL: http://www.dgs.udel.edu
**************************************************
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.