sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Geocoder for Sketchup Ruby API

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 644 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MaryamR
      last edited by MaryamR

      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.

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        @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

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • M Offline
          MaryamR
          last edited by

          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 .

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement