On Mar 7, 11:46 pm, Guru Patel <[email protected]> wrote:
> I want to display this type of marker in click of marker.
> Text and person image will coming on sql databas.
> How it possible ??
> my marker code is given below..
>
> function createMarker(point,val) {
>        // Create a lettered icon for this point using our icon class
>        //var letter = String.fromCharCode("A".charCodeAt(0) + index);
> var letteredIcon = new GIcon(baseIcon);
> letteredIcon.image = "image/map_pin.png";
>  // Set up our GMarkerOptions object
> markerOptions = { icon:letteredIcon };
> var marker = new GMarker(point, markerOptions);
> GEvent.addListener(marker, "click", function() {
> marker.openInfoWindowHtml(val);
>
>
>
>
>
>
>
> });
> return marker;
> }

You are developing in the Google Maps API v2, per the documentation:

https://developers.google.com/maps/documentation/javascript/v2/reference

The Google Maps JavaScript API Version 2 has been officially
deprecated as of May 19, 2010. The V2 API will continue to work until
May 19, 2013.

New development in the Google Maps API v2 is discouraged.

  -- Larry


>
>
>
>  sample_image.png
> 17KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to