CakePHP-GoogleMapHelper icon indicating copy to clipboard operation
CakePHP-GoogleMapHelper copied to clipboard

How to add Multiple marker on map using GoogleMap->map method or else ?

Open baidru opened this issue 11 years ago • 3 comments

Hi,

i need the feature to implement on map related area show on map with actual area with pin and information. i have done with single address and marker, but i want more related marker how can i supply more LatLang in option array

GoogleMap->map($map_options); ?>

baidru avatar Mar 04 '14 13:03 baidru

have you checked the demo app? This is the example you are looking for: http://googlemap-examples.herokuapp.com/ExampleApp/pages/default_marker

marcferna avatar Mar 05 '14 01:03 marcferna

Hi Marc Fernandez,

Thanks for your support i am done with multiple marker on map, but i need to apply one more thing how to open only on marker info-window and not another, i have applied below code

infowindow.open(map,markers[index]);

but using this all marker info window open by default. Please suggest me how i can do. I want t to show related hospital on map with actual search result like near-by

Thanks !

On Wed, Mar 5, 2014 at 7:19 AM, Marc Fernandez [email protected]:

have you checked the demo app? This is the helper you are looking for: http://googlemap-examples.herokuapp.com/ExampleApp/pages/default_marker

Reply to this email directly or view it on GitHubhttps://github.com/marcferna/CakePHP-GoogleMapHelper/issues/13#issuecomment-36701978 .

baidru avatar Mar 05 '14 04:03 baidru

Check how @agponte solve it here: https://github.com/marcferna/CakePHP-GoogleMapHelper/issues/3

I'll add it as a option

marcferna avatar Mar 08 '14 04:03 marcferna