Quick question guys: does the SimpleMarkerOverlay support wrapping around the dateline?
TIA.
SimpleMarkerOverlay wrapping around dateline
Hi Klaus,
Thanks for your post, because markerOverlay is very different from layer(layer could wrapdateline), forexample marker could add event,control and draggable and some other cutomerized attribute, but layer is actually a image. so to deep colone a markeroverlay would be hard, and therefore it would be hard to wrapdateline for markeroverlay compared with layer.
But here are two walkaround.
The first is to set a marker’s position cross the dateline for example “Marker marker = new Marker(-185, -190);”
The second is that if the marker just act a simple role(like just need to be clickable) then to use a layer could be able to replace a simplemarkeroverlay.
Hope it helps
Summer