[OpenLayers-Users] creating a popup at the moment a vector feature is created

Puneet Kishor punk.kish at gmail.com
Thu Oct 6 14:55:23 EDT 2011


I want to accomplish the following --

1. the user clicks on the map
2. a vector feature is created, say, an arrow (or whatever)
3. a small popup is created right next to the feature with a 
   couple of feature attributes in it. The popup would be 
   anchored to the feature at a predefined point, say, bottom 
   left.

like so

  +-----------+
  | name: foo |
  | rate: 20  |
  +-----------+
  ^
 /|\
  |
  |


I don't know how to accomplish #3 above.

--
Puneet Kishor



More information about the Users mailing list