Skip to content
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.

Map features #18

Open
prp-e opened this issue Oct 7, 2016 · 2 comments
Open

Map features #18

prp-e opened this issue Oct 7, 2016 · 2 comments

Comments

@prp-e
Copy link

prp-e commented Oct 7, 2016

When I added a node, for example :

node = Rosemary::Node.new(:lat => x, :lon => y , :tags => "amenity=restaurant")

is this correct? and if it's not, is there a way to add features?

@christoph-buente
Copy link
Contributor

It would rather be something like this:

node = Rosemary::Node.new(:lat => x, :lon => y , :tags => { "amenity" => "restaurant"})

@matkoniecz
Copy link

Would it be a good idea to update https://github.com/sozialhelden/rosemary#testing-your-code to include also an example with adding node with some tags?

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

No branches or pull requests

3 participants