InfoWindows on google map -


does can kind of google infowindows infowindows function google map api 3 when click on marker ?

http://i40.tinypic.com/25unplc.png

var infowindow = new google.maps.infowindow({   content:"hello world!"   });  google.maps.event.addlistener(marker, 'click', function() {   infowindow.open(map,marker);   }); 

i not able line break in information windows...

add html code infowindow apply styles like:

var contentstring = '<div id="content">'+         '<h2>meta creation</h2><br/>'+         '<div id="bodycontent">'+         '&nbsp;&nbsp;&nbsp;'+         '</div>'+         '</div>';  infowindow.setcontent(contentstring); 

note: used of html tags show example. change according requirement.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

mysql - Pass value between different pages (form) with PHP -