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 616 posts 988 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", "", "")

    }

    }

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies