Posts Tagged: google maps

Center a Google Map on a point

I’ve always been surprised that centring on a point/LatLng isn’t a function in the Google Maps API, although the fitBounds method does tend to interfere with the zoom it’s a useful tool to have in the box.

Using MarkerClusterer and MarkerWithLabel with Google Maps

Both MarkerClusterer and MarkerWithLabel are great libraries, but they do have their quirks; MarkerClusterer What is a cluster marker? MarkerClusterer doesn’t use Google Markers or pin styles, it takes an image path and creates HTML on a layer. The resultant markup is given a class of ‘cluster’ that you can target in your CSS. Do… Read more »

Google Map

Background. Google Maps has a really well documented API, and the maps are really cool. I wanted to see quite how easy it all was. Google Maps API. The solution I’ve created uses the API to display and customise a map, adding markers and descriptive text. It uses the marker manager to control which markers… Read more »