[OpenLayers-Users] Adding popups to vector features

Heidt, Christopher M. CHRISTOPHER.M.HEIDT at saic.com
Wed Dec 10 12:19:42 EST 2008


I have a vector feature that is created by reading in wkt.
I want to add a popup to it.

To do that I need:
feature.data.popupSize = ...
feature.data.popupContentHTML = ...
feature.lonlat = ...

First two are easy, third one not so much.
Too bad the wkt parser doesn't add a central lonlat to the feature.



More information about the Users mailing list