Questions tagged as "EGMaps"
How to auto zoom and center, (boundfit) using egmaps?
I have no problems displaying items from the database but I have no idea how to display multiple markers with autozoom and center. I see a few functions dealing withREAD MORE
By pacrisc in Extensions · Asked 154 days 4 hours 2 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
EGMaps How to get lat and lng from dragable marker?
EGMaps How to get lat and lng from dragable marker?
I have try like this
- $marker = new EGMapMarkerWithLabel(4.21048, 100.97577, array('title' => "Cobaan"));
- $label_options = array(
- 'backgroundColor'=>'red',
- 'opacity'=>'0.75',
- 'width'=>'100px',
- 'color'=>'blue'
- );
- $dragevent = new EGMapEvent('dragend', 'marker_dragevent(dragend)', false, EGMapEvent::TYPE_EVENT_DEFAULT);
- $marker->addEvent($dragevent);
- $info_window_d = new EGMapInfoWindow($dragevent.lat(),$dragevent.lng());
- $marker->addHtmlInfoWindow($info_window_d);
- $gMap->addMarker($marker);
$marker = new EGMapMarkerWithLabel(4.21048, 100.97577, array('title' => "Cobaan"));READ MOREBy gezzeg in Extensions · Asked 400 days 3 hours ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
EGMaps doesn’t load on renderPartial
Hello!
I’m triying to load an EGMap on a partial view. This is my code:
This is the ajax button which calls the action loadmap:
- echo CHtml::ajaxsubmitButton ("Press for geolocation",
By bossm4 in Extensions · Asked 524 days 19 hours 8 mins ago
Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0
