Google Maps geographic search control for umbraco Options
chimnit
Posted: Friday, October 03, 2008 5:06:47 PM
Rank: Devotee

Joined: 10/25/2007
Posts: 59
Hi everybody,

I am making a custom Google Maps control for umbraco backend, that enables you to search for a geographical location in the umbraco backend. But I'm having some problems when I deploy the project to a live site.

First of all the map doesn't display in the umbraco backend as Google doesn't accept the registration key, which dows work in the site frontend.

Below are some screenshots of the error I get:




Below is how it is supposed to look:


The weird thing is that it does work when I test it on my local machine the map displays. Even though it is offset by about 100px up and left.

You can download the source here:
Source code

You can set the Google maps API key in the web.config file.

I hope you can help me with this issue and maybe you can use the control in projescts as well :o)

If we can isolate the error please send me the proposed changes, so I can make the final control available to everyone :o)

/Kim
jesper
Posted: Monday, October 06, 2008 9:52:49 AM

Rank: Administration

Joined: 7/25/2006
Posts: 425
Location: vipperoed, denmark
Hi Kim,

Did you remember to use another key for your public site (since it's probably another domain).
If you're interested I can mail you an usercontrol that I had Tim G develop for me. Maybe you can use it for getting ideas. Just shoot me an email at jesper (((a))) jesper.com

kindly,
J

webbureau jesper.com doing webdesign / development / umbraco implementations / 2007&2008 MVP / umbraco certified
stiansol
Posted: Monday, October 06, 2008 10:43:18 AM
Rank: Newbie

Joined: 8/16/2008
Posts: 8
Location: Norway - Oslo
Hi Kim,

just wanted to tip you off with a already built Google Maps control with full Ajax capabilities and lots of potential for expanding the functionality.

Check out http://samples.gaiaware.net/LiveMapsMashup.aspx

Access it through C# or VB.NET, don't have to struggle with JavaScript when consuming the control.
Gaia Ajax works GREAT with Umbraco!
The sourcecode is available here: http://gaiaware.net/download

Best regards
Stian


Want easy Ajax in Umbraco?
Download and test with Gaia Ajax - http://gaiaware.net
Open Source
chimnit
Posted: Monday, October 06, 2008 12:08:21 PM
Rank: Devotee

Joined: 10/25/2007
Posts: 59
Hi Stan and Jesper,

Thanks for the tips. I'll check the Gaia Ware control out later today. Can you tell me if this control can run so your search is for an address and not longtitude and lattitude?

Once again thanks :o)

Best regards

Kim
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.