Google earth / mapsinnovationsInternet and Blogs

Your visitors on the Google map

Knowing where visitors come from and placing them on the map is one of the functions provided by Google Analytics, but that functionality does not yet exist to display your own maps. The example represents my visitors today, with the disadvantage that there is no zoom, unless you want to view by country, and those pesky sizes cannot be controlled.

Google maps visitors

However, the friends of Zipwise, using the API of Google Maps have made a nice toy that, just by receiving the hit of an image placed on the blog can reflect the last 100 visitors on the map.

To do this, the following code is copied in the header or in a Adsense deluxe type ad.

Here I show the example of the area of ​​influence of the Hispanic area frequented by Geofumadas at 10 PM, Venezuela time. Of course, with the disadvantage of just being able to see the latest 100 unless you grab the code of your API and do tricks to your liking.

Google maps visitors

The conversion of an IP to a coordinate of type lat, lon is a function that exists in SQL of the form INET_ATON () and INET_NTOA (). Although Zipwise friends claim that there is a simple way to convert it manually:

For the case, an IP Is transformed by making fashion series:

12 * 256 ^ 3 = 201,326,592
34 * 256 ^ 2 = 2,228,224
56 * 256 ^ 1 = 14,336
78 * 256 ^ 0 = 78

Until you take it to the form:


Hehe, as easy as Geospatial Administrator of Bentley Map.

There are other data that can be downloaded from the Zipwise website, and through paid services to access your data. 

Golgi Alvarez

Writer, researcher, specialist in Land Management Models. He has participated in the conceptualization and implementation of models such as: National Property Administration System SINAP in Honduras, Management Model of Joint Municipalities in Honduras, Integrated Cadastre-Registry Management Model in Nicaragua, Territory Administration System SAT in Colombia . Editor of the Geofumadas knowledge blog since 2007 and creator of the AulaGEO Academy that includes more than 100 courses on GIS - CAD - BIM - Digital Twins topics.

Related Articles

One Comment

  1. The functions you mention (and the formula) refer to the conversion of an IP into a number that is easy to index and search in the database, not in a lat, lon coordinate, that will be given by the query when you find The range in which the ip is converted into number.

Leave a comment

Your email address will not be published. Required fields are marked with *

Back to top button