I think this should prove useful:
http://econym.org.uk/gmap/basic1.htm
(see potential pitfalls)
You should checkout the rest of the tutorials too.
On Mon, Nov 10, 2008 at 8:11 PM, Travis <[EMAIL PROTECTED]> wrote:
>
> I posting two locations to my map but I only have one bubble
> location. In the command I have it set up for two bubbles. I would
> like the pointer to click on the location and the information
> appears. Can anyone give commands that work. I have tried everything
> and it does not work.
>
> here is an example:
>
> //<![CDATA[
>
> function load() {
> if (GBrowserIsCompatible()) {
> var map = new GMap2(document.getElementById("map"));
> map.setCenter(new GLatLng(40.283, -96.745), 8);
> }
> }
>
> var point = new GPoint(40.283, -96.754);
> GEvent.addListener(marker, "click", function() {
> marker.openInfoWindowHtml("Some stuff");
> });
> map.addOverlay(marker);
>
> and nothing appears now.
>
>
>
> http://roehrsinc.com/mymap1.html
>
>
> that is what I have now so if anyone can help that would be great!!
> THANKS!!!
>
> >
>
--
Barry
- www.nearby.org.uk - www.geograph.org.uk -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---