Google Maps API and Google Indoor Maps

Asked

Viewed 841 times

2

Good afternoon. I work with Network Design and Structured Cabling and developed an application for fiber optic mapping with the Google Maps API, which you can see in the following URL:

http://mappingnti.ufms.br/

In the brainstorms with the team, everyone found interesting the addition of the company’s plans for the addition of structured wiring in the buildings, so we would have the structures of each building of the University. In search of solutions, we discovered this:

http://www.google.com/intl/pt-BR/maps/about/partners/indoormaps/

The doubt would not even be about specific programming but whether it is possible to apply Indoor Maps directly in our Mapping, without having to send the low plants to Google (which can be blocked by the bureaucracy of the public sector).

If it is possible, where can I find some documentation about it? I entered the Google discussion forums to ask this question and they sent me to Stack Overflow in English.

Thank you.

  • Good morning, the system of mapping of optical networks http://mappingnti.ufms.br/ you can make available for studies, I found it very interesting and would like to implement here in the company. Thank you!

  • Opa Jean, of course! How can I contact you?

2 answers

3

Indoor Maps is not yet available for the Google Maps v3 API, but there is a solution that can meet your needs. The Groundoverlay class, Ground Overlays in our Portuguese, allows you to place an image in a given location, increasing or decreasing in size depending on the zoom level. The documentation can be found here: https://developers.google.com/maps/documentation/javascript/overlays#GroundOverlays

But basically you only need to define the NE and SW points of the low plant:

var imageBounds = new google.maps.LatLngBounds(
    new google.maps.LatLng(40.716216,-74.213393),
    new google.maps.LatLng(40.765641,-74.139235)); 

then define the image path and the previously defined NE and SW coordinates and place the overlay on the map:

   var oldmap = new google.maps.GroundOverlay("http://pathdaimagem.jpg", imageBounds);
   oldmap.setMap(map);

To complete you can create custom map controls that show or hide the low plants.

0

  • I may not have noticed, but this link seems to explain how to customize Street View and not Indoor Map.

  • Step 3 shows the code, the previous Steps talk about how to mount the photos. http://googlemaps.googlermania.com/google_maps_api_v3/en/custom_streetview/3.html

  • 1

    Good morning, everyone. It seems that, in my view, he is right Matthew, this information is about Street View (which are quite useful for future ventures). But they don’t exactly speak of the maps inddor.

  • Paulo good morning, I really got confused I was thinking about a Street View, in relation to Indoor Maps I found the following references http://www.google.com/intl/pt-BR/maps/about/partners/indoormaps/, https://support.google.com/gmm/answer/1711534?ref_topic=3100918&p=gmm_guidelines&=rd1, https://maps.google.com/floorplans/find?hl=pt-BR

Browser other questions tagged

You are not signed in. Login or sign up in order to post.