This repository was archived by the owner on Nov 8, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 404
Add multiple address component, select box support, pre-existing markers #69
Open
climbak
wants to merge
11
commits into
ubilabs:master
Choose a base branch
from
climbak:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bee73e0
added street_address_only data type and option to set select dropdowns
climbak 00db037
small syntax correction
climbak b632b7a
Semantic fix
climbak 19b5f7f
Removed street_address_only address component and added multiple addr…
climbak 16114dd
removed an errant console.log
climbak 01081f5
added a removed comment line back in
climbak 360e18d
fixed bug causing multiple inputs to be filled with the same value
climbak 118bb54
formatting change
climbak 1e2e161
Added functionality to pass in a pre-existing map marker and whether …
climbak f35bc55
updated readme.md for fork
climbak 6251ad2
Update README.md
climbak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately the layout will depend on the country. In some places it is
route numberin other placesnumber routeornumber, route.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that different regions need different street address formats. Addresses are one of the largest headaches I've come across. I think it would be a good option for a user of this plugin to be able to fill the desired form field with the street address of their choice. I would propose to either offer multiple format types, such as
street_number_route,route_street_number, etc., or give the option for multiple types in the data attribute on the input. For example,data-geo="street_number route"which would fill with "123 Main St" ordata-geo="route street_number"which would fill with "Main St 123". It at least still gives the option for the user of the plugin to use the street address in the format they choose. I think the second option is cleaner. If either option is something you'd like to merge into the plugin, I'll see what I can do to get it done.