I downloaded and installed WP Google Maps PRO.
I have a new question: How do I create layers or shapes using my local geoJSON data set? I tried doing this yesterday, but without success.
What I need to do is create clickable shapes or layers for New York City, its five boroughs, and the community districts within each borough.
NOTE: New York City’s boroughs and community districts do not directly correspond to geoJSON administrative levels.
My attempt involved filling in the necessary UI fields. For the geoJSON URL, I used the path to the data set file (in this case, https://websitename/wp-content/themes/child-theme/geoJSON/brooklyn.geojson). On the front end, I got a blank map. On the backend, I kept getting an error telling me that I had to enter a latitude and longitude for each location. I don’t need to map locations; rather, I need to create layers or shapes that represent the various service areas for a company.
Thinking that it may have been a database table mapping issue, I downloaded the sample csv and made a new file, using the sample as a template, adding the additional fields for my data. I uploaded the file via the UI, but still got the missing lat/lon error. I tried finding a data set with centroids for each area, but had no luck. Is there a way I can get this to work without having to manually calculate the centroid for each area?
What I need is this:
-A shape or layer that represents all of New York City, while showing the boundaries of each of the five boroughs.
Clicking on a borough takes you to a page with the community district map of that borough.
– A shape or layer representing each of the five boroughs, while showing the boundaries of each community district.
Clicking on a community district takes you to a page with a street map of that community district.
– A shape or layer representing each community district within the five boroughs.
Needed for navigation links in the borough maps
I have the geoJSON data for all of this and can convert it to whatever format works best for the plugin. I can also extend the plugin to: 1) override/remove the locations requirement; and 2) add new fields to the UI to import the NYC data sets.
Currently, I have a data set for New York City as a whole, with the polygons for each borough and community district.
I really appreciate any help you can give:)
-
This reply was modified 7 years, 10 months ago by bfrancoeur. Reason: Improve overall readability and update tags
-
This reply was modified 7 years, 10 months ago by bfrancoeur. Reason: Correct grammar