codeforkansascity / meep

Mapping Energy Efficiency & Public Health
MIT License
10 stars 20 forks source link

Map API data to Polygon Schema #74

Open pieroapretto opened 5 years ago

pieroapretto commented 5 years ago

Discovery - https://developers.google.com/maps/documentation/javascript/shapes Codepen playground - https://codepen.io/ugene/pen/YZOmXa, https://codepen.io/jzmmm/pen/ZOqEOy npm package - https://www.npmjs.com/package/react-google-maps

interface Location Marker { points: LatLongArray project_name: string, center: LatLongObject project_id: number, project_type: string }

interface LatLongObject { lat: number, lng: number }

interface LatLongArray extends LatLongObject{}

pieroapretto commented 5 years ago

Looks like I am going to need more data from interface LocationMarker for this to work with the project filters:

addition props:

// for date range filter startDate: new Date Object or string endDate: new Date Object or stirng