public function getRenderableMap($width = null, $height = null)
 {
     $gmap = MapUtil::get_map($this->owner);
     $w = $width ? $width : MapUtil::$map_width;
     $h = $height ? $height : MapUtil::$map_height;
     $gmap->setSize($w, $h);
     if ($this->RenderMarkers == true) {
         foreach ($this->owner->getIterator() as $marker) {
             $gmap->addMarkerAsObject($marker);
         }
     }
     return $gmap;
 }
 public function getRenderableMap($width = null, $height = null, $zoom = 9)
 {
     $gmap = MapUtil::get_map(new ArrayList(array($this->owner)));
     $w = $width ? $width : MapUtil::$map_width;
     $h = $height ? $height : MapUtil::$map_height;
     $gmap->setSize($w, $h);
     $gmap->setZoom($zoom);
     $gmap->setEnableAutomaticCenterZoom(false);
     if ($this->owner->MapPinEdited) {
         $gmap->setLatLongCenter(array('200', '4', $this->owner->getMappableLatitude(), $this->owner->getMappableLongitude()));
     }
     MapUtil::set_map_already_rendered(true);
     return $gmap;
 }