Google Map Api3 conflict
Permalink Browser Info Environment
Hi there,
First just want to say this theme is super nice and really enjoying using it so far.
I've encountered a strange problem in regards to using Google map API to produce a styled map. I know that it works and have tested it on other themes - I'm only encountering this problem in Genesis.
For Example.. Using the sample code from google and my API key I have attached two screen shots:
@ screen shot 21.34.22 - this is the sample code below for google maps, no styling added - notice how the icons on the UI for google are corrupted..
@screen shot 21.36.31 - this is the same code above, but with added styling - the map completely dissappears.. icons of the UI still corrupted.
This is all I have in my view (in this instance using googles sample demo):
At the moment we can use no styling on the maps to get by - but it really does throw the design off on the website as there's many pages with these maps that need styling and a working UI.. I spent the last few hours checking all my code and testing it on other themes.. I think there must be a conflict with the API and Genesis..
Your help would be greatly appreciated!!!
Many thanks,
Omar
First just want to say this theme is super nice and really enjoying using it so far.
I've encountered a strange problem in regards to using Google map API to produce a styled map. I know that it works and have tested it on other themes - I'm only encountering this problem in Genesis.
For Example.. Using the sample code from google and my API key I have attached two screen shots:
@ screen shot 21.34.22 - this is the sample code below for google maps, no styling added - notice how the icons on the UI for google are corrupted..
@screen shot 21.36.31 - this is the same code above, but with added styling - the map completely dissappears.. icons of the UI still corrupted.
This is all I have in my view (in this instance using googles sample demo):
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <html> <head> <title>Simple Map</title> <meta name="viewport" content="initial-scale=1.0"> <meta charset="utf-8"> <style> /* Always set the map height explicitly to define the size of the div * element that contains the map. */ #map { height: 100%; } /* Optional: Makes the sample page fill the window. */
Viewing 15 lines of 39 lines. View entire code block.
At the moment we can use no styling on the maps to get by - but it really does throw the design off on the website as there's many pages with these maps that need styling and a working UI.. I spent the last few hours checking all my code and testing it on other themes.. I think there must be a conflict with the API and Genesis..
Your help would be greatly appreciated!!!
Many thanks,
Omar
Type: | Ticket |
---|---|
Status: | Archived |
Hi James,
Thanks very much for the quick response!
The server I'm writing this website is not live yet and I can't show you a preview unless you change your hosts file..
I set up a new domain, installed the latest Concrete and your Theme.. added a single page and only put the sample code from google for a simple map:
you can access it here:http://bournemouthstudenttours.com/test...
Many thanks,
Omar
Thanks very much for the quick response!
The server I'm writing this website is not live yet and I can't show you a preview unless you change your hosts file..
I set up a new domain, installed the latest Concrete and your Theme.. added a single page and only put the sample code from google for a simple map:
<html> <head> <title>Simple Map</title> <meta name="viewport" content="initial-scale=1.0"> <meta charset="utf-8"> <style> /* Always set the map height explicitly to define the size of the div * element that contains the map. */ #map { height: 100%; } /* Optional: Makes the sample page fill the window. */ html, body { height: 100%; margin: 0;
Viewing 15 lines of 34 lines. View entire code block.
you can access it here:http://bournemouthstudenttours.com/test...
Many thanks,
Omar
sorry this one->http://www.bournemouthstudenttours.com/test...
Hi!
Thanks for the link. Found the issue and updated the theme with a fix. Please update to version 1.1.5.1 and clear cache. Please let me know if it works on your end. :)
Kind regards,
James
Thanks for the link. Found the issue and updated the theme with a fix. Please update to version 1.1.5.1 and clear cache. Please let me know if it works on your end. :)
Kind regards,
James
Amazing thanks James - working amazingly!
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
Thanks for the feedback. Yeah I think there is a CSS conflict with my theme and the API. Can you send me a link to the broken map UI so I can check the frontend code. I think this can easily be fixed. Send me the link and I'll update my theme a soon as possible.
Thanks and regards,
James