[EXTENSION] Google Static Maps
Posted 27 March 2010 - 03:12 AM
Thanks a lot , very nice.
How I do hyperlink for link from Google Maps, I tried add my link www.google.com/map in 'linkUrl'. but it show the map in my app, I wanna in new window and connect to Google map.
Posted 27 March 2010 - 07:03 AM
$this->widget('application.components.widgets.WGoogleStaticMap',array( 'center'=>'52.3214,2.34403', // Or you can use text eg. Dundee, Scotland 'linkUrl'=>'http://maps.google.com/', // You will need to get the maps page you want to link to. 'linkOptions'=>array('target'=>'_blank'), // HTML options for link tag (optional) ));
Posted 07 May 2010 - 04:13 AM
Just to clarify, we can't currently use baloons over markers as on dynamic maps?
Also, center parameter is not required when markers are present, according to API:
correct me if I'm wrong