Christophe Posted January 23, 2015 Share Posted January 23, 2015 How do you set the zoom of the google map Link to comment Share on other sites More sharing options...
motomac Posted February 23, 2016 Share Posted February 23, 2016 The only way to do that is to hardcode zoom parameter in applications/calendar/sources/Event/Event.php: return \IPS\GeoLocation::buildFromJson( $this->location )->map()->render( $width, $height ); replace with return \IPS\GeoLocation::buildFromJson( $this->location )->map()->render( $width, $height, 1 ); The third parameter is very strange and not equal to Google default zoom parameters. On my website I also have a problem: map thumbnail always shows me the same place in my city, but if I click on this thumbnail, a full Google Maps website is opened and the point is placed correct. If you specify an exact address of a building, the best zoom would be chosen automatically. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.