Google map inside the modal Bootstrap

Asked

Viewed 813 times

0

I want to incorporate google maps into the modal bootstrap. Through some searches, I ran into the code below, but the map does not appear:

http://www.bootply.com/106707

  • 1

    At this link you passed, the map is showing normally. Can’t you see the map? Test in another browser, or other PC, or other Network/Internet.

  • I have already done this, but unfortunately the map does not appear. I am using bootstrap v3.3.6

  • If you have another model, no problem......

  • 1

    Look at this one: http://jsfiddle.net/wgur1z7n/

1 answer

1


The problem is that to use google maps you have to use a key that google provides to use the API so you have Google’s permission. Get better informed here: https://developers.google.com/maps/

  • Hello Rafael. Actually the map would be just the location of my client’s customer’s address. The project will have a page where it will bring his customers and next to each description, would have a link that would open a modal with the map of the address of each one inside. In that case, it would have to have an API as well?

  • 1

    Jose Marcos, the API is very simple to use, it’s all with javascript, I believe for you to do this you would have to take and check in the database the address of each to be able to arrow the coordinates, vc arrow in the javascript the coordinates and is marked on the map. Yes would have the API, can relax, is easy to work with, the hardest will be to know the coordinates of each client of your client.

Browser other questions tagged

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