From: Ron Z. <rz...@gm...> - 2010-04-23 11:23:57
|
Hello, i extended the MapExample.initMapWidget to use OSM as follows: Markers markers = new Markers(""); this.map.addLayer(markers); Layer osm = OSM.Mapnik(""); osm.setIsBaseLayer(true); map.addLayer(osm); add(mapWidget, DockPanel.CENTER); markers.addMarker(new Marker(new LonLat(-122.3235810559386, 47.59126434612684))); the marker is somewhere in Seattle USA. On the WMS layer the marker is correctly displayed. On the OSM layer it is displayed in Africa. What am i doing wrong ??? -- Ron -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 |