Copied to clipboard

Flag this post as spam?

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


  • Anamarija Horvat 25 posts 140 karma points
    May 10, 2017 @ 08:19
    Anamarija Horvat
    0

    Terratype not working on Umbraco 7.6.

    Map isn't displaying on page. It displays as empty div, no errors are thrown.

  • Jonathan Richards 288 posts 1742 karma points MVP
    May 10, 2017 @ 08:25
    Jonathan Richards
    0

    Hi Again,

    I do feel we misunderstand each other, to solve your issue could you answer a few questions ?

    1. Is this the Umbraco backend; a content node, a grid control, dataype configuration ?

    2. Is this a front end page that you are rendering using the Html.Terratype() command ?

    3. What browser are you using

    I'm sorry, but you will need to give me some information so that I can try and solve.

    Cheers

    Jonathan

  • Anamarija Horvat 25 posts 140 karma points
    May 10, 2017 @ 09:44
    Anamarija Horvat
    0

    Hi!

    On backend everything works fine it just doesn't render on front end page with using Html.Terratype() command, it looks like it should be there, but it isn't. enter image description here It's not a css issue becuase when I put it in blank page it still doesn't render. Height of it is 0, but even if I raise it still nothing there. It was tried on multiple browsers. Umbraco is set to dll mode.

  • Jonathan Richards 288 posts 1742 karma points MVP
    May 10, 2017 @ 10:02
    Jonathan Richards
    0

    Thank you for the screenshot, that was really helpful. There should be a script tag in that block of html you posted, I don't know what is causing Umbraco 7.6 to stop it being outputted.

    This looks like something I need to fix in my package.

    I could suggest as a temporary fix your end, to add the missing script tags yourself to the top of your razor template

    <script type="text/javascript" src="/App_Plugins/Terratype.GoogleMapsV3/scripts/Terratype.GoogleMapsV3.Renderer.js"></script>
    <script type="text/javascript" src="/App_Plugins/Terratype.GoogleMapsV3/scripts/markerclusterer.min.js"></script>
    

    Tell me how it goes, but I'm really sorry for this. Hopefully I will get a few hours this weekend to issue a proper fix for Umbraco 7.6

    Cheers

    Jonathan

  • Anamarija Horvat 25 posts 140 karma points
    May 10, 2017 @ 14:11
    Anamarija Horvat
    0

    Thanks. Sorry I didn't expaneded the div. Here's full content, scripts are there. enter image description here

  • Anamarija Horvat 25 posts 140 karma points
    May 15, 2017 @ 10:06
    Anamarija Horvat
    0

    We managed to get it to partially work, if only "Basic map" is selected in developer settings option of the datatype then it works. But if anything else is selected it doesn't.

  • Jonathan Richards 288 posts 1742 karma points MVP
    May 17, 2017 @ 12:47
    Jonathan Richards
    100

    Hi Anamarija,

    Have a look at

    https://our.umbraco.org/projects/backoffice-extensions/terratype/bugs-questions/85792-cant-get-zoom-option-working#271830

    As I think you might have the same issue. I will be issuing a new package to fix that bug soon.

    Cheers

    Jonathan

Please Sign in or register to post replies

Write your reply to:

Draft