egeloen / IvoryGoogleMapBundle

Google Map API v3 integration for your Symfony2 project.
https://github.com/egeloen/ivory-google-map
MIT License
217 stars 152 forks source link

Rendering multiple maps on same page #28

Closed Venzon closed 12 years ago

Venzon commented 12 years ago

Including google maps api javascript file gives such message:

"Warning: you have included the Google Maps API multiple times on this page. This may cause unexpected errors."

Maybe there should be some way to load maps api only once... maybe even in head section of page. Dont know yet what solution will not break backwards compatibility. Maybe adding second parameter to renderJavascripts method?

egeloen commented 12 years ago

You're right, each time a map is rendered, the google map API is included. I will fix it this week.

geoffrey-brier commented 12 years ago

I think we can close this issue? ping @egeloen

Venzon commented 12 years ago

yes

egeloen commented 12 years ago

I don't like the way I fixed this issue. Anyway, when I will fix #31, I will change this.