Loading...
 
Skip to main content

History: CartoGraf_Map

Source of version: 22

Copy to clipboard
            {APPFRAME(absolute=y hideleft=y hideright=y fullscreen=y)}
  {COLUMN(width=100%)}
    {COND(notempty="{{shareCode}}")}
      {page name=MapCanvasShare coordinates={{coordinates}} mapId={{mapId}} shareCode={{shareCode}} user={{user}}}
    {COND}
    {COND(empty="{{shareCode}}")}
      {page name=MapCanvasSolo coordinates={{coordinates}} mapId={{mapId}} user={{user}}}
    {COND}
    {ANCHOR(icon="styles/CartoGraf/img/btnCarte.png" label=Map)}
      {COND(empty="{{mapId}}")}
            {page name=MapSelector user={{user}}}
            {module 
              label="Create New" 
              name=tracker_input 
              trackerId=$profileobject:maps$ 
              hiddeninput=owner({{user}}) 
              location=mapBaseLocation:viewport 
              success=redirect(Map?mapId=@itemId@&coordinates=@mapBaseLocation@&shareCode=@shareCode@)
            }
      {COND}
      {COND(notempty="{{mapId}}")}
            {page name=MapInfo mapId={{mapId}} user={{user}}}
      {COND}
    {ANCHOR}

    {ANCHOR(icon="styles/CartoGraf/img/btnPartager.png" label=Tools)}
      {module name=map_search_location}
      {module name=map_layer_selector}
      {COND(notempty="{{mapId}}")}
        {HIDDEN()}
          {module name=tracker_input trackerId=$profileobject:pointsOfInterest$  hiddeninput="map({{mapId}}),finder({{user}})" location=poiLocation submit="Add Marker" streetview=poiImage}
          {module name=map_edit_features standard=0 hiddeninput="map({{mapId}}),finder({{user}})" trackerId=$profileobject:zones$}
        {HIDDEN}
      {COND}
    {ANCHOR}
    {OVERLAY(top=5 left=350)}
      {mapcontrol type="pan_zoom"}
      {COND(notempty="{{mapId}}")}
        {mapcontrol type="modify_feature" navigation=1}
        {mapcontrol type="draw_polygon"}
        {mapcontrol type="draw_path"}
        {mapcontrol type="mode_enable" mode="Tracker Input" icon="img/icons/help.png" label="Point of Interest"}
      {COND}
      {mapcontrol type="mode_enable" mode="StreetView" icon="styles/CartoGraf/img/btnNaviguation_1.png"}
    {OVERLAY}
  {COLUMN}
{APPFRAME}
        

History

Information Version
Tue 24 of Mar, 2015 17:32 GMT-0000 Jonny Bradley move the print tpl out of the mapId check 79
Tue 16 of Apr, 2013 15:27 GMT-0000 Jonny Bradley make legend anchor appear if no mapId but there is a sourceId (as in public maps) 78
Mon 25 of Mar, 2013 13:47 GMT-0000 Jonny Bradley add classes to the overlay divs 77
Sun 24 of Mar, 2013 08:54 GMT-0000 luciash d' being 🧙 Adjust position of the left pane icons to prevent IE10 Metro UI overlap 76
Sat 23 of Mar, 2013 17:46 GMT-0000 luciash d' being 🧙 label for Reset Zoom 75
Sat 23 of Mar, 2013 17:44 GMT-0000 luciash d' being 🧙 label for StreetView 74
Wed 20 of Mar, 2013 16:23 GMT-0000 Jonny Bradley log in link for anon in create map bit 73
Fri 11 of Jan, 2013 17:56 GMT-0000 Jonny Bradley moving buttons under zoom bar down a bit (the other one is in the css) 72
Mon 26 of Nov, 2012 17:03 GMT-0000 Jonny Bradley float create button left 71
Mon 26 of Nov, 2012 12:37 GMT-0000 Jonny Bradley proper clearfix html to separate layer checkboxes properly 70
Mon 26 of Nov, 2012 03:09 GMT-0000 Marc Laporte floatright 69
Mon 26 of Nov, 2012 02:38 GMT-0000 Marc Laporte simpler 68
Mon 26 of Nov, 2012 02:37 GMT-0000 Marc Laporte A new class to control this one 67
Mon 26 of Nov, 2012 02:28 GMT-0000 Marc Laporte MyMaps now merged with HomePage 66
Mon 26 of Nov, 2012 02:26 GMT-0000 Marc Laporte This is not in received screenshots 65
Fri 23 of Nov, 2012 17:49 GMT-0000 Jonny Bradley insertmode="Default" 64
Fri 23 of Nov, 2012 16:50 GMT-0000 Jonny Bradley clearfix after dupe & join buttons 63
Fri 23 of Nov, 2012 06:11 GMT-0000 Marc Laporte Moving layer selector in map slide-out. Will perhaps change again 62
Fri 23 of Nov, 2012 06:11 GMT-0000 Marc Laporte Moving layer selector in map slide-out. Will perhaps change again 61
Fri 23 of Nov, 2012 04:41 GMT-0000 Marc Laporte Add a MyMaps button next to "Create New" 60
Tue 20 of Nov, 2012 13:32 GMT-0000 Jonny Bradley replacing join module with tpl version (map_join.tpl) 59
Fri 09 of Nov, 2012 18:15 GMT-0000 luciash d' being 🧙 new pointer icon for Select/Move 58
Fri 09 of Nov, 2012 12:25 GMT-0000 Jonny Bradley adding delete button 57
Fri 09 of Nov, 2012 11:37 GMT-0000 Jonny Bradley add duplicate button for your own maps 56
Wed 07 of Nov, 2012 05:06 GMT-0000 luciash d' being 🧙 better arrangement 55