Copied to clipboard

Flag this post as spam?

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


  • Dan Evans 596 posts 946 karma points
    Jul 01, 2014 @ 16:02
    Dan Evans
    0

    Map displayed even if none chosen

    Hi

    If you create a marker and then delete it the map is still displayed and seems to default to somewhere in the Indian Ocean. Is there a way to clear all markers  so no map is shown if none selected?

     

    This doesn't work:

    @{

    if(Model.HasValue("map")){

    @RenderPage("~/macroScripts/GoogleMap.cshtml", Model.Id, "map", "", "")

    }

    }

Please Sign in or register to post replies

Write your reply to:

Draft