| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -64,7 +64,7 @@ | |||
| 64 | 64 | }; | |
| 65 | 65 | var layerStyle = new SuperMap.Components.commontypes.CircleStyle(); | |
| 66 | 66 | ||
| 67 | - $.get('../data/data671MeteorologicalStations.geojson', function(res) { | ||
| 67 | + $.getJSON('../data/data671MeteorologicalStations.geojson', function(res) { | ||
| 68 | 68 | var data = res; | |
| 69 | 69 | ||
| 70 | 70 | ReactDOM.render( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ | |||
| 34 | 34 | </div> | |
| 35 | 35 | <script> | |
| 36 | 36 | var data; | |
| 37 | - $.get("../data/data671MeteorologicalStations.geojson", function(res) { | ||
| 37 | + $.getJSON("../data/data671MeteorologicalStations.geojson", function(res) { | ||
| 38 | 38 | data = res; | |
| 39 | 39 | new Vue({ | |
| 40 | 40 | el: "#main", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments