Schema Latitude and Longitude


Meghan Trapp

Forum Member
Joined
Jan 5, 2016
Messages
20
Likes
2
I'm unsure of what to use for lat and long in the schema markup for my clients. For example, the lat/long in the Google embed maps URL is not the same coordinates as the actual pushpin location. I completed a search with the lat/long from the URL and it was slightly NW of my business location. Any ideas how to correctly identity the lat/long to be used in schema markup? Thanks!
 

mborgelt

Local Search Expert
Joined
Jul 22, 2012
Messages
471
Likes
150
We always keep long and lat consistent with the address in Maps. You will want to get the pin to the correct location as well.
 

Meghan Trapp

Forum Member
Joined
Jan 5, 2016
Messages
20
Likes
2
Thanks, what I am actually referring to is that in this example of Cilantro's Mexican Bar & Grill, the lat/long in the Google Maps URL is 41.2200366, -96.1418065.

https://www.google.com/maps/place/Cilantro's+Mexican+Bar+&+Grill/@41.2200366,-96.1418065,17z/data=!3m1!4b1!4m2!3m1!1s0x8793f3c301d220c3:0x9efb993faf0561f7

When you search this lat/long in Google Maps, it does not take you to this pin. It instead drops a marker due west of the actual pin in a different lat/long than pulled from the URL.

This is why I raise the question - In your schema markup, should you use the lat/long provided by Google in the Google Maps URL so that your markup is consistent with the URL? or should you use another method of finding your lat/long for your schema markup since Google also seems to think that this lat/long is due west of the actual business?

 

Attachments

Scott Rawlins

Moderator
Moderator
Joined
Nov 14, 2012
Messages
1,016
Likes
296
I answered in the other thread too, but...

Have you tried GeoSetter? Check it out. It uses G maps.

"Shows existing geo coordinates, image directions and tracks on embedded Google Maps map"

Just enter the address, it use G Maps and will give the correct lat and long. Try it out.
 

Linda Buquet

Moderator
Moderator
Joined
Jun 28, 2012
Messages
14,436
Likes
4,290
Scott is right, that's one solution.

But with that tool or any other you still need to double check it, by posting the lat/long back into maps to be sure it resolves properly.
 

stankolev

Forum Member
Joined
Jul 21, 2015
Messages
45
Likes
35
The coordinates in the maps url are where the map is centered. Here are two other variants to find the exact coordinates :

By clicking direction, the coordinates are in the end of the url, but be sure sure that the end destination is the business, not the address and watch for the minuses :

Code:
https://www.google.com/maps/dir/Cilantro's+Mexican+Bar+%26+Grill,+14440+F+St,+Omaha,+NE+68137/@41.2200366,-96.1418065,17z/data=!4m12!1m3!3m2!1s0x0000000000000000:0x9efb993faf0561f7!2sCilantro's+Mexican+Bar+%26+Grill!4m7!1m0!1m5!1m1!1s0x8793f3c301d220c3:0x9efb993faf0561f7!2m2!1d[B]-96.1396178[/B]!2d[B]41.2200326[/B]
Result : 41.2200326 ; -96.1396178

In mapmaker source code :
Code:
[COLOR=#000000][FONT=monospace]"lat":41.220032600000003,"lng":-96.139617799999996[/FONT][/COLOR]
I checked the google places API for this business and the result for latitude/longitude are the same as in direction url.
 
Last edited:

Similar threads


Local Search Forum


Weekly Digest
Subscribe/Unsubscribe


Google Product Exert

@LocalSearchLink

Join Our Facebook Group

Top