Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map API data to Polygon Schema #74

Open
pieroapretto opened this issue Sep 21, 2019 · 1 comment
Open

Map API data to Polygon Schema #74

pieroapretto opened this issue Sep 21, 2019 · 1 comment
Assignees

Comments

@pieroapretto
Copy link
Collaborator

pieroapretto commented Sep 21, 2019

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants