Changeset 9594
- Timestamp:
- Aug 28, 2011, 2:01:03 PM (13 years ago)
- Location:
- src/django_gheat/wlheatmap
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/static/heatmap.js
r9587 r9594 92 92 }; 93 93 var style = new OpenLayers.Style(template, {context: context}); 94 var geojson = new OpenLayers.Layer.GML("GeoJSON", " /static/nodes.json", {94 var geojson = new OpenLayers.Layer.GML("GeoJSON", "feature/nodes.json", { 95 95 projection: new OpenLayers.Projection("EPSG:4326"), 96 96 styleMap: new OpenLayers.StyleMap(style), -
src/django_gheat/wlheatmap/urls.py
r9549 r9594 17 17 url(r'^tile/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.serve_tile'), 18 18 url(r'^nodelist/(?P<zoom>\d+),(?P<lat>[0-9.]+),(?P<lon>[0-9.]+)$', 'nodelist.serve_nodelist'), 19 url(r'^feature/nodes.json$', 'feature.nodes_json'), 19 20 url(r'^filters/$', 'filters.serve_filters'), 20 21 )
Note:
See TracChangeset
for help on using the changeset viewer.