Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kasper Dyrvig 363 karma points
    Aug 16, 2010 @ 14:25
    Kasper Dyrvig
    0

    Where is the datatype???

    I have just installed the Google Maps datatype in umbraco 4.5.1. But the datatype isn't showing up. And yes, I have logged out, deleted the cahe and all that... but still no datatype!?

    I can see the package in the "Installed packages" folder.

    Does anyone know what is going on?

  • Sascha Wolter1100 karma points
    Aug 16, 2010 @ 14:48
    Sascha Wolter
    0

    Hi Webspas,

    I am pretty sure that you have to create the actual datatype yourself after installing the package.

    Right-click on datatypes, choose Create. Give it a name and hit the button. In the render control dropdown select 'Ferguson Moriyama Place', save it and you are done. This way you can create multiple instances of the type.

    Hope that helps,
    Sascha

  • Kasper Dyrvig363 karma points
    Aug 18, 2010 @ 17:24
    Kasper Dyrvig
    0

    Year, your right. I saw that a few minutes later...

    But it still doesn't work. When I go to Content and want to edit the map, I get a notise that "This web site needs a different Google Maps API key. A new key can be generated at http://code.google.com/apis/maps/." But the API key is brand new!

    What's wrong? Can you help me out?

  • Sascha Wolter1100 karma points
    Aug 18, 2010 @ 22:50
    Sascha Wolter
    0

    Hiya,

    Google creates the API key based on the hostname you provide, so 'http://www.mysite.com' will always have the same key. Which is great. If you got the key there is another link on the page (I think below the link to the Google page) where you can enter the key in the config. The config page is a grid that consists of 3 columns:

    - the hostname, e.g. 'www.mysite.com' (I think without http, but not 100% sure)
    - the API key
    - the default location (coordinates and zoom)

    You can add multiple entries, e.g. one for localhost and for the actual site.

    Hope that was the info you were looking for,
    Sascha

  • Kasper Dyrvig363 karma points
    Aug 19, 2010 @ 08:17
    Kasper Dyrvig
    0

    I appreseate your help!

    I have already done what you suggest, and I have checked in the place.config file if it had the information. It is all in order. But still I get that message... Grrrr

  • Sascha Wolter1100 karma points
    Aug 19, 2010 @ 12:23
    Sascha Wolter
    0

    Hm, very odd. Can you please post your place.config file content? What is your url when you get the error? Sorry, just fishing for possible errors here.

    Sascha

  • Kasper Dyrvig363 karma points
    Aug 19, 2010 @ 16:48
    Kasper Dyrvig
    0

    I'm only glad you will help me.

    I'm getteing the error massage when I - in the umbraco interface - enter the page that sould contain a map, to edit it.

    My place.config file contains this:

    <?xml version="1.0" standalone="yes"?>
    <root>
      <record>
        <domain>http://see.thenoise.dk</domain>;
        <api_key>ABQIAAAA7ByKa5QA1xn1bSwYNwHPkxStxBMa3aPjMDHGo69oWM7gz7L3RRRZLElRzND-aYu_ybg8iQi0s8fpgg</api_key>
        <default_location>53.430785,-2.960515,12</default_location>
      </record>
    </root>
  • Kasper Dyrvig363 karma points
    Aug 20, 2010 @ 14:26
    Kasper Dyrvig
    0

    I have now tried this great Google Maps locater in another website, but I get the exact same error.

    I really hope someone can help me!

  • Sascha Wolter1100 karma points
    Aug 20, 2010 @ 14:46
    Sascha Wolter
    0

    Hiya,

    sorry I must have overseen the notification for your last post.

    Anyway, you definitely don't need to use the 'http://' in front, it's just the hostname 'see.thenoise.dk' that's needed here. I also get a different API key with that domain, however it might be that the keys are different for users, I don't know, anyway here it is:

    ABQIAAAAMk9c65DUlovHKsvEImhp5BStxBMa3aPjMDHGo69oWM7gz7L3RRSVSSQgtr5MRsIv9XT2IsnufXusnw

    Can you give that a try please (first just without 'http://', then maybe with the other key?)?

    <?xml version="1.0" standalone="yes"?>
    <root>
     
    <record>
       
    <domain>see.thenoise.dk</domain>
       
    <api_key>ABQIAAAA7ByKa5QA1xn1bSwYNwHPkxStxBMa3aPjMDHGo69oWM7gz7L3RRRZLElRzND-aYu_ybg8iQi0s8fpgg</api_key>
       
    <default_location>53.430785,-2.960515,12</default_location>
     
    </record>
    </root>

    Cheers,
    Sascha

  • Kasper Dyrvig363 karma points
    Aug 23, 2010 @ 08:38
    Kasper Dyrvig
    0

    Hi

    I haven't been home in the weekend, so I haven't see your post...

    I tried to remove the http://, and now I don't get the error and the map shows up in the umbraco interface! Wohoo! Thank you very much!

    BUT I can't make the map search for places!? I type something in, let's say "New York", click "Search" and then nothing happens. Do you know anything about that?

    I really appreciate your great help!

  • Sascha Wolter1100 karma points
    Aug 23, 2010 @ 11:14
    Sascha Wolter
    0

    Great that at least the map is showing up now! :)

    Funnily enough the search doesn't seem to work for me either on my local 4.5.1 installation. I haven't actually build a web site yet in 4.5.1, so I can't say if it might be my faulty local install of if there might be a compatibility issue with 4.5.1. It definitely works like a charm with all our 4.0.4.2 installations.

    I observed the net traffic with FireBug and couldn't see any request being made to the Google servers for geocoding the address, basically if you click on search nothing happens at all.

  • Kasper Dyrvig363 karma points
    Aug 23, 2010 @ 12:30
    Kasper Dyrvig
    0

    Okay. I think I will try contact Darren Ferguson about that.

    Again thanks very much for your help!

  • Kasper Dyrvig363 karma points
    Aug 23, 2010 @ 14:25
    Kasper Dyrvig
    0

    Apprently the Google Maps Datatype isn't supported by Umbraco 4.5.1. And Darren Ferguson says that has no plans of upgrading it. Though he have "opened up the source to allow others to do so."

    That is - as we say in Denmark - træls.

Please Sign in or register to post replies

Write your reply to:

Draft
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.