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

Lock to particular country(ies) #27

Open
vredchenko opened this issue Mar 4, 2014 · 3 comments
Open

Lock to particular country(ies) #27

vredchenko opened this issue Mar 4, 2014 · 3 comments

Comments

@vredchenko
Copy link
Owner

Allow to configure countries that can be interacted with by users, and disable all others.

@vredchenko vredchenko added this to the Easter eggs milestone Mar 5, 2014
@vredchenko vredchenko self-assigned this Mar 5, 2014
@vredchenko vredchenko modified the milestones: post-release, Easter eggs Mar 29, 2014
@vredchenko vredchenko changed the title Remove Russia from the map Lock to particular country(ies) Mar 29, 2014
@vredchenko
Copy link
Owner Author

Had to drop Google Maps API v3 in favour of Leaflet.js to get boundary constraints out of the box as config options in map constructor. Still have to figure out Ukraine rectangular constraints (in lat-lng) and replace Google-specific code for rendering existing data points with equivalent Leaflet code.

@borys-kupar
Copy link
Collaborator

Leaflet replacement have been finished. Added rectangular constraints for Ukraine. Still have to add validation for adding problem within Ukraine.

@borys-kupar
Copy link
Collaborator

We could try to follow this tutorial http://oramind.com/?p=595 for getting country bounding polygons in GeoJSON format needed for Leaflet.js

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

No branches or pull requests

2 participants