Changeset 08d220a in osmose-frontend


Ignore:
Timestamp:
Mar 1, 2014 11:08:42 AM (6 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
d6369e1
Parents:
06f669e
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (18/02/2014 23:18:04)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (01/03/2014 11:08:42)
Message:

Add location util

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • static/map/map.js

    r734537c r08d220a  
    3434  }); 
    3535  map.addControl(scale); 
     36 
     37  var location = L.control.location(); 
     38  map.addControl(location); 
    3639 
    3740  var geocode = L.Control.geocoder({ 
  • views/map/index.tpl

    ra23a666 r08d220a  
    2323  <script type="text/javascript" src="{{get_url('static', filename='/map/leaflet-sidebar/src/L.Control.Sidebar.js')}}"></script> 
    2424  <script type="text/javascript" src="{{get_url('static', filename='/map/leaflet-control-geocoder/Control.Geocoder.js')}}"></script> 
     25  <script type="text/javascript" src="{{get_url('static', filename='/map/Location.js')}}"></script> 
    2526  <script type="text/javascript" src="{{get_url('static', filename='/map/Osmose.Menu.js')}}"></script> 
    2627  <script type="text/javascript" src="{{get_url('static', filename='/map/Osmose.Marker.js')}}"></script> 
Note: See TracChangeset for help on using the changeset viewer.