Register here!

Forgot password?

ASK NEW QUESTION

Home Page » EGMaps

Questions tagged as "EGMaps"

0 Votes
Solved!

How to auto zoom and center, (boundfit) using egmaps?

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

0 Votes

EGMaps How to get lat and lng from dragable marker?

DragEGMapsLatLngMarker

EGMaps How to get lat and lng from dragable marker?

I have try like this

  1. $marker = new EGMapMarkerWithLabel(4.21048, 100.97577, array('title' => "Cobaan"));
  2.  
  3. $label_options = array(
  4.   'backgroundColor'=>'red',
  5.   'opacity'=>'0.75',
  6.   'width'=>'100px',
  7.   'color'=>'blue'
  8. );
  9.  
  10. $dragevent = new EGMapEvent('dragend', 'marker_dragevent(dragend)', false, EGMapEvent::TYPE_EVENT_DEFAULT);
  11.         $marker->addEvent($dragevent);
  12.  
  13. $info_window_d = new EGMapInfoWindow($dragevent.lat(),$dragevent.lng());
  14. $marker->addHtmlInfoWindow($info_window_d);
  15.  
  16. $gMap->addMarker($marker);
$marker = new EGMapMarkerWithLabel(4.21048, 100.97577, array('title' => "Cobaan"));READ MORE

By gezzeg in Extensions · Asked 400 days 3 hours ago

Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0

0 Votes
Solved!

EGMaps doesn’t load on renderPartial

EGMapsgooglemapsrenderPartial

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:

  1. echo CHtml::ajaxsubmitButton ("Press for geolocation",
  2.            READ MORE

By bossm4 in Extensions · Asked 524 days 19 hours 8 mins ago

Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0

© YiiAnswers.com 2011. All rights reserved.

Switch to our mobile site