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

Location #71

Open
offsky opened this issue Nov 3, 2015 · 0 comments
Open

Location #71

offsky opened this issue Nov 3, 2015 · 0 comments

Comments

@offsky
Copy link
Owner

offsky commented Nov 3, 2015

A new directive to edit a geographic location.

$scope.myLoc = {title:'Home',address:'123 Main St',lat:45.678,lon:123.456}
..
<div ade-location ade-id="1234" ng-model="myLoc"></div>

A div with this directive on it would display text according to these rules:

  1. The title if it exists, otherwise..
  2. The Address, otherwise...
  3. The lat/lon coordinates, otherwise...
  4. The string: 'No location'

When clicking on this text, a popup Google Map will be displayed that will allow the following:

screen shot 2015-11-03 at 3 22 53 pm

  1. Ability to search by address
  2. Ability to drag and drop the marker
  3. The ability to edit the title (not shown in image)
  4. The ability to remove the marker and clear the location
  5. Address will be filled automatically by Google lookup if available

See Toodledo's location editor here for reference (source code can be provided): http://www.toodledo.com/organize/locations.php

It would be best if we could avoid any external dependencies besides the Google SDK.

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

1 participant