Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Pinpoint › Google Maps are broken in PinPoint theme
New Landing › How can we help? › Themeforest Theme Support › Pinpoint › Google Maps are broken in PinPoint theme
Tagged: beautifully, broken, displaying, google, Maps, morning, ocean, pinpoint, pins, theme
- This topic has 35 replies, 9 voices, and was last updated 10 years by Swift Ideas – Ed.
-
Posted in: Pinpoint
-
July 1, 2013 at 10:21 am #9688
Google maps are now broken – they were displaying beautifully until this morning. All our pins are in the ocean…
July 1, 2013 at 12:27 pm #9705Hi,
This is a problem with the API and is affecting all our themes, an update is already in the works. Please subscribe to item update notifications in your ThemeForest Downloads area, so you get an email when we release a fix.
Regards,
————————————————————————————————————Cosmin – Support
July 1, 2013 at 4:28 pm #9758Any ETA on the fix? Thank you.
July 2, 2013 at 8:53 pm #9876Not sure, but I’ve assigned Ed so he gets notified and can let us know.
Regards,
————————————————————————————————————
Cosmin
Support AssistantJuly 3, 2013 at 11:55 am #9967Hi there,
This was fixed in the latest update, available via your dashboard. You may need to remove the map asset and add it again to flush through the cache.
Hope that helps.
– Ed
July 3, 2013 at 6:23 pm #10003I was actually referring to the Flexform theme – that one is broken as well. Will it be updated soon?
July 3, 2013 at 7:46 pm #10031All our themes are in the process of being updated on this matter, so yes, an update will be out soon for Flexform as well.
Regards,
————————————————————————————————————
Cosmin
Support AssistantJuly 4, 2013 at 4:32 pm #10188All updates are available now through the dashboard updates section.
– Ed
July 5, 2013 at 4:39 pm #10446Are you referring to Themeforest or elsewhere? Themeforest is still showing Version 1.4.2 from 18th May 2013.
July 5, 2013 at 4:56 pm #10447It’s a hotfix (auto) update, so if you go to your WordPress admin dashboard, you will find it available as a theme update.
We haven’t pushed it to ThemeForest as of yet.
– Ed
July 7, 2013 at 6:53 pm #10590Anyway to fix this without doing a full update? I am too far into php edits for an update of the whole theme for just a plugin. Would be very grateful.
July 8, 2013 at 11:00 am #10678Hi there,
Sure, to fix this, open up functions.php and change the function on line 566 with the following:
function map_embed($address) { if (!is_string($address))die("All Addresses must be passed as a string"); $address = str_replace(" ", "+", $address); // replcae all the white space with "+" sign to match with google search pattern $url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address=$address"; $response = file_get_contents($url); $json = json_decode($response,TRUE); //generate array object from the response from the web $_coords['lat'] = $json['results'][0]['geometry']['location']['lat']; $_coords['long'] = $json['results'][0]['geometry']['location']['lng']; return $_coords; }
Then add the following to the custom css box within theme options:
.map-canvas img { max-width: none; }
– Ed
July 8, 2013 at 12:03 pm #10693Hello,
I update the theme via the dashboard, but the problem still persist.
Some advices ?Thanks a lot
July 8, 2013 at 12:18 pm #10697@welcome – can you provide a link to the page on your site with the map on?
– Ed
July 8, 2013 at 12:21 pm #10699This reply has been marked as private. -
Posted in: Pinpoint
You must be logged in and have valid license to reply to this topic.