[OpenLayers-Users] [robhyx@gmail.com: [OpenLayers-Dev] Clicking a marker on a marker layer and then calling some code]

Christopher Schmidt crschmidt at metacarta.com
Thu Jan 7 17:13:28 EST 2010


Users list is for using the library; dev list is for modifying code in
OpenLayers.js.

----- Forwarded message from Robert Hicks <robhyx at gmail.com> -----

From: Robert Hicks <robhyx at gmail.com>
To: dev at openlayers.org, users at openlayers.org
Date: Thu, 7 Jan 2010 15:17:39 -0500
Subject: [OpenLayers-Dev] Clicking a marker on a marker layer and then
	calling some code

Hey all, I was wondering if there were any examples available or if someone
could tell me how I would register a mouse event with a bunch of markers in
a marker layer. Basically I am going to have a map with several points and
depending on what point they click a new page is going to open. For example
there are going to be points for each county in a given state and when a
user clicks on a given county, the counties web page will load in a new
window. I know how to do all of that except for registering different event
handlers for each marker. Any ideas/suggestions?

Thanks!

-- 
web http://www.hyxspace.com
aim hyx1138

_______________________________________________
Dev mailing list
Dev at openlayers.org
http://openlayers.org/mailman/listinfo/dev


----- End forwarded message -----



More information about the Users mailing list