[OpenLayers-Users] Reposition KML vector shape by javascript

Takako Tucker Takako.Tucker at bbc.co.uk
Tue Nov 8 10:18:59 EST 2011


Hello, could someone please point me to the right direction where I can
see an example page which demonstrates a following senario... 

1) A vector shape with set of coordinates in KML displayed on a map
layer
2) setCenter to the default Lon Lat position
3) Then this shape can be moved to another specific location by
javascript

Basically I need to convert SVG polygons to KML which needs to be
displayed on a map  (initially centered to the default Lon Lat position
) then I needs it to be moved again to another Lon Lat position.
I'm stuck with KML as I'm not certain how I can access the default
coordinates and override it so the shape can be moved around...

Hope this makes sense. Any advice would be much appreciated. 

Thanks

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111108/4401daf6/attachment.html


More information about the Users mailing list