Center map on user's country
Detect user's country from their IP address or browser language string, and center the map on that country.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for couchapp-backbone
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
TODO:
- Run proximity search automatically on page load, first checking to see if the user has a default search location stored in their preferences cookie, then if not, use their IP address to determine (the geocode of) their location.
- Determine search radius dynamically by finding the smallest radius necessary to display the user's preferred number of or default of 5 congregations on the map.
- Center the map on the user's location.
- Display nearby congregations on the map.
- List nearby congregations in the table of cong data, sorted by distance from center point.
- Implement pagination on the table of congs.
- Implement a combo box to select how many congs to display.
- Implement pagination links to more pages of congs if there are more than the number selected to display in the table/map.
- Color the markers for the churches displayed in the table uniquely so you can tell which churches on the map are the ones in the table.
- Implement mouseover highlighting
- If mouse over cong in table, make that cong's marker slightly larger on map.
- If mouse over cong marker on map and if cong's row in table is currently displaying (currently in the table's pagination page that is displaying), highlight cong's row in table.