Ignore:
Timestamp:
Aug 28, 2011, 2:01:03 PM (13 years ago)
Author:
rick
Message:

Nice hack for showing all nodes using geojson.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/static/heatmap.js

    r9587 r9594  
    9292  };
    9393  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", {
    9595    projection: new OpenLayers.Projection("EPSG:4326"),
    9696    styleMap: new OpenLayers.StyleMap(style),
Note: See TracChangeset for help on using the changeset viewer.