I'm developing a custom control in Umbraco which has a Google Map
element on it. When the page loads I get the this api is registered
under another site warning.
However I know this is not the case, the key is registered under
www.sentricmusic.co.uk.
I'm using IE7 but this is definelty not a browser problem. Has anyone
else had this problem? If so how did you solve it... please do not
point me toward an umbraco control already available... none of them
suit my purposes.
That error-message is generated by Google. So google must think that the key you entered isn't registered with that domain.
Just try to create a new key and see if that works.
Yeah I tried generating a new key with no luck... I'm thinking that something may happen as Umbraco generates the page which may restrict javascript calls to external scripts. But I can only guess at this. The exact same code does work in other sites outside of Umbraco, so not that I want to blame umbraco because I do think it's boss, but I have to figure out exactly what could be blocking the call.
The problem is exasperated because I have another project to do for Friday which required the exact same thing in umbraco.... bit of a predicament.
I have used googlemaps with umbraco numerous times both with usercontrol and xslt macro in v3/v4 without any issues. What was the url you typed into the box on google maps signup? Can you paste it exactly as it is on google. Also probably long shot can you change in your google js script tag
Hi James,</p>
<p>I know that it is now a couple of months ago, that you entered your question. I have made a Google Maps locater package that you can get here.</p>
<p>It contains a backend control and an example xslt and javascript that you can use for reference. It should be fairly simple to use. It is important though to say that because the backend control uses jQuery, it only runs properly in v4. </p>
<p>It can be used on a site having multiple domains as well. Just enter your Google API keys in the .config file which the package installs in the /config folder.</p>
<p>I hope you can use it, if your own control didn't work out. I'll post the source code soon.</p>
<p>Cheers Kim</p>
Google Maps Integration
I'm developing a custom control in Umbraco which has a Google Map
element on it. When the page loads I get the this api is registered
under another site warning.
Please see: http://www.sentricmusic.co.uk/ViewGoogleMap.aspx
However I know this is not the case, the key is registered under
www.sentricmusic.co.uk.
I'm using IE7 but this is definelty not a browser problem. Has anyone
else had this problem? If so how did you solve it... please do not
point me toward an umbraco control already available... none of them
suit my purposes.
Thanks
James
That error-message is generated by Google. So google must think that the key you entered isn't registered with that domain.
Just try to create a new key and see if that works.
HTH,
PeterD
Yeah I tried generating a new key with no luck... I'm thinking that something may happen as Umbraco generates the page which may restrict javascript calls to external scripts. But I can only guess at this. The exact same code does work in other sites outside of Umbraco, so not that I want to blame umbraco because I do think it's boss, but I have to figure out exactly what could be blocking the call.
The problem is exasperated because I have another project to do for Friday which required the exact same thing in umbraco.... bit of a predicament.
James,
I have used googlemaps with umbraco numerous times both with usercontrol and xslt macro in v3/v4 without any issues. What was the url you typed into the box on google maps signup? Can you paste it exactly as it is on google. Also probably long shot can you change in your google js script tag
[code]
v=2
[/code]
to
[code]
v=2.115
[/code]
or v=2.x
Regards
Ismail
You are a legend my friend. Thank you very much. Just need some infrastructure changes and all should be good. Thank you again.
Hi James,</p> <p>I know that it is now a couple of months ago, that you entered your question. I have made a Google Maps locater package that you can get here.</p> <p>It contains a backend control and an example xslt and javascript that you can use for reference. It should be fairly simple to use. It is important though to say that because the backend control uses jQuery, it only runs properly in v4. </p> <p>It can be used on a site having multiple domains as well. Just enter your Google API keys in the .config file which the package installs in the /config folder.</p> <p>I hope you can use it, if your own control didn't work out. I'll post the source code soon.</p> <p>Cheers Kim</p>
is working on a reply...