Geocoder for Sketchup Ruby API
-
hello everyone,
I'm trying to create a model of a house that exists in real life, and add an inputbox where the user can write the actual address of that house and then show location of that building in Google Maps.
i tried to install geocoder: Gem.install("geocoder")
but it doesn't find it:
Gem.install("geocoder") Error; #<Gem;;SpecificGemNotFoundException; Could not find a valid gem 'geocoder' (>= 0) locally or in a repository> C;/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/dependency_installer.rb;301;in `find_spec_by_name_and_version' C;/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/dependency_installer.rb;110;in `available_set_for' C;/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/dependency_installer.rb;322;in `install' C;/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems.rb;526;in `install' <main>;in `<main>' SketchUp;1;in `eval'does this gem works only for Ruby on Rails and Sinatra .. ? is there another gem like geocoder that is used for the Ruby Sketchup API ?
thank you a lot.
-
@maryamr said:
...the user can write the address of that building and the show the location of that building in Google Maps...
How does this differ from 'Get Location'?
why do you need a gem for something that's built into Google Maps?
john
-
No it's not built inside google map.
i'm creating a model of a house that exists in real life, ad i write it's address in an inputbox.
now i want to creat a plugin that shows the location of that house on google map based on the address i wrote .
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement