Monday, July 18, 2011

[Google Maps API v2] i need some modification in code

i am just beginner for google maps api and looking for some
modification in code
any body who can help me will be great

i want to replace the code
$adsmanagermarkers .="';
var adsm_infowindow".$adsmanagermarker->id." = new

google.maps.InfoWindow({
content: adsmanagerHtml".$adsmanagermarker->id."})

google.maps.event.addListener(adsm_marker".$adsmanagermarker->id.",
'click', function() {
adsm_infowindow".$adsmanagermarker->id.".openInfoWindowHtml
(map".$module->id.",adsm_marker".$adsmanagermarker->id.")});

google.maps.event.addListener(map".$module->id.", 'click', function(){
adsm_infowindow".$adsmanagermarker->id.".close();
});";

with this code

GEvent.addListener(marker, 'click', function() {

// When clicked, open an Info Window that has a maximized state

marker.openInfoWindowHtml('Click the (+) to maximize me!', {

maxTitle: 'Maximized Title',

maxContent: 'Maximized content text.'

});

please help urgently required

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate