Future of Google Location History API

I’ve discovered that I can dynamically load my location history for any date using the following url: https://maps.google.com/locationhistory/b/0/kml?startTime=1373666400000&endTime=1373752800000 by changing timestamps in “startTime” and “endTime” parameters. Unfortunately it’s in .kml and no granularity data is included. Come on, Google – Latitude has some devoted users who relay on it on daily basis, don’t kill it … Read more

Add “Search Area” outline onto google maps result

As there is no yet solution offered by the Maps API and manually filling in coordinates is nobody’s business, here’s a gem of an alternative. Found this answer on the GIS website–absolute lifesaver (would’ve saved jurihandl a LOT of minutes drawing Calgary, above ;D): You can get polygon coordinates in json for using with googlemaps … Read more

Google Map crashes in IOS7

As said previously iOS7 is more strict with memory usage. This behavior occurs in other browsers like Chrome, so when an app reach upper limit in memory usage, the crash appears. I have isolated two test cases using only Gmaps javascript API and jQuery: Testing with 100 markers: Everything it’s ok http://jsfiddle.net/edfFq/6/embedded/result Testing with 3000 … Read more

Google Maps Autocomplete: how to get lat/lng?

There are methods called lat() and lng() that exist on the geometry object’s prototype. So to get the values, just use the following: var place = autocomplete.getPlace(); var lat = place.geometry.location.lat(), lng = place.geometry.location.lng(); // Then do whatever you want with them console.log(lat); console.log(lng); console.warn(‘Warning: I didn\’t test this code!’);

Is there a way to display a single country in Google map? It should be only one country, not parts from other countries included [duplicate]

If you disable all map elements and then a add new layer (a single country), then only one country is visible. Here is a jsfiddle https://jsfiddle.net/gvvy5vxz/2/ function initialize() { var mapOptions = { zoom: 5, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP, backgroundColor: ‘#FFF’, disableDefaultUI: true, draggable: false, scaleControl: false, scrollwheel: false, styles: [ { “featureType”: “water”, “elementType”: … Read more

Get google map link with latitude/longitude

I’ve tried doing the request you need using an iframe to show the result for latitude, longitude, and zoom needed: <iframe width=”300″ height=”170″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”https://maps.google.com/maps?q=’+YOUR_LAT+’,’+YOUR_LON+’&hl=es&z=14&amp;output=embed” > </iframe> <br /> <small> <a href=”https://maps.google.com/maps?q=’+data.lat+’,’+data.lon+’&hl=es;z=14&amp;output=embed” style=”color:#0000FF;text-align:left” target=”_blank” > See map bigger </a> </small>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)