| View previous topic :: View next topic |
| Author |
Message |
jhonynil
Joined: 13 Nov 2007 Posts: 102
|
Posted: Fri Feb 13, 2009 9:38 am Post subject: Displaying list of markers in googlemap |
|
|
Hi experts.
I am developing an web application in ruby on rails. in my application I need to display list of markers in google map.
I have few questions on this.
1). Can we display more than one marker in google map?
2). Can we provide user defined marker images rather than default images ?
3). Can we display image inside the popup of marker?
Can any one answer my questions?
Note: please prove some work URL’s of these, so that I can clearly understand myself.
Thank’s in advance |
|
| Back to top |
|
 |
umamahesh_nyros

Joined: 17 Jul 2007 Posts: 231 Location: KAKINADA
|
Posted: Fri Feb 13, 2009 9:47 am Post subject: Google maps in www.inkakinada.com/*/mapsearch |
|
|
Hello jhony,
Google provides google maps for open source API. we can implement google maps easily in ruby on rails application. As you did displaying one marker in google maps, we can display any number of markers in google map. Here is the url you can find some usefull usl’s where you can find some live examples.
http://www.inkakinada.com/category/mapsearch/help-lines
http://www.inkakinada.com/classifieds/jobs/mapsearch
http://www.inkakinada.com/classifieds/salemapsearch
in the above url’s you can find the list markers in the google map depending on the location. By this way we can display any number of markers in your gooogle map. But one thing you need to keep in your mind is you should limit the markers to some extent, if not you will get an script error. So try to limit the markers to some extent.
Coming to displaying the user defined image in the marker popup.
Yes we can display the user defined image in the popup window. This can be done giving the image path in image tag with in the content div of that popup. You can find some working url’s below.
http://www.inkakinada.com/list/damro-furniture-showroom
http://www.inkakinada.com/list/raj-jewellery-mall
http://www.inkakinada.com/list/sangeet-sagar
in the above you can see the user defined images in the google map. In this we are displaying the image of the listing in the google map marker popup.
In this we can customize the gooogle maps to our requirements. If you have clarifications for the above notes, let me know them.
Thank You,
Uma. |
|
| Back to top |
|
 |
|