Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Basic Google Maps View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 11/27/2013 11:42:55 AM
   
Basic Google Maps
Having a few issues with the maps and not displaying the pins properly. For whatever reason, it seems like there is something blocking access to the URL http(s)://maps.google.com/maps/api/js?sensor=false. For instance, I can navigate to my page with the basic map webpart on it and it will come up with no pins with my search options. Now if I open another tab and manually navigate to http(s)://maps.google.com/maps/api/js?sensor=false then go back to the other tab and refresh it, map will come up with pins as expected. I'm positive it's not a bug but not sure what I might be missing or maybe something in the firewall blocking it.

Any ideas?

User avatar
Member
Member
egarrison-wte - 11/27/2013 9:05:46 PM
   
RE:Basic Google Maps
Does your locations have the Lat / Long or the address to generate the pins? I have found much better luck using Lat / Long. Sometimes address only has been very slow to render.

Here is a sample page doing the pins:
http://www.paninipod.com/2013-NFLPOD/NFLPOD-Shop-Locator/Diamond-King.aspx

The script calls to maps.google.com/maps/api/js is done client side. It should not be a firewall issue. If my link loads, yours should also.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 11/27/2013 11:14:52 PM
   
RE:Basic Google Maps
All of my lat/long data is stored with each location the user is searching for. I have my own geolocation setup that gets closest locations based on user input. Works great although I'll get sporadic issues where the pins and maps don't render as expected.

So as I mentioned, yes it loads 98% of the time but when you have a particular page being accessed over 2000 times per day on desktop and mobile devices it needs to be accurate 100% of the time.