x First time here? Check out the FAQ
  • Avatar234posts325karma

    Where is the datatype???

    Kasper Dyrvig started this topic August 16, 2010 @ 02:25, Go directly to the topic solution

    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?


  • Avatar615posts1089karma
    Comment with ID: 43290
    Sascha Wolter posted this reply August 16, 2010 @ 02:48

    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


  • Avatar234posts325karma
    Comment with ID: 43657
    Kasper Dyrvig posted this reply August 18, 2010 @ 05:24

    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?


  • Avatar615posts1089karma
    Comment with ID: 43701
    Sascha Wolter posted this reply August 18, 2010 @ 10:50

    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


  • Avatar234posts325karma
    Comment with ID: 43747
    Kasper Dyrvig posted this reply August 19, 2010 @ 08:17

    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


  • Avatar615posts1089karma
    Comment with ID: 43790
    Sascha Wolter posted this reply August 19, 2010 @ 12:23

    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


  • Avatar234posts325karma
    Comment with ID: 43898
    Kasper Dyrvig posted this reply August 19, 2010 @ 04:48

    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>

  • Avatar234posts325karma
    Comment with ID: 44074
    Kasper Dyrvig posted this reply August 20, 2010 @ 02:26

    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 Wolter posted this reply August 20, 2010 @ 02:46

    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


  • Avatar234posts325karma
    Comment with ID: 44259
    Kasper Dyrvig posted this reply August 23, 2010 @ 08:38

    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!


  • Avatar615posts1089karma
    Comment with ID: 44287
    Sascha Wolter posted this reply August 23, 2010 @ 11:14

    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.


Pages:

Please login or Sign up To post replies