January 15, 2013, 6:36pm
I would like to integrate Google Maps in YII. How can I include custom JS in YII? I’ve read a lot about this stopic but i haven’t understand the concept yet. (Tutorials?)
These are the right functions to include custom JS? How can I use them? How can i pass variables from YII to JS and from JS to YII?
Thx for your help!
January 15, 2013, 7:23pm
Go to Extensions and search.
Also, there is Google.
And do read the Yii guide (documentation/tutorials)
January 15, 2013, 11:25pm
I tried two Extensions, the EGMAPS and the GMAP-Jquery Extensions. Both are not enough for my requirements.
For example in the EGMaps-Extension the Polylines are missing and in the GMap-JQuery Extension the Geocoding. So I need to use the pure Google Maps API. In the YII Guide is nothing about the integration of pure JS in YII or am I wrong?
January 16, 2013, 12:15am
$script = <<<EOD
Yii::app()->clientScript->registerScript('customFnc', $script, CClientScript::POS_READY);?>
April 12, 2013, 9:23am
Iam new yii developer.first how to integrate Google map in site.please answer this question step by step.