🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Google Maps API"

User: "sgenzer"
Altair Employee
Updated by Jocelyn
hi...not sure if someone has done this before but I figured out how to get Google Maps API to work within RM.  This operator takes an address (attribute="address_for_google") and calculates the distance in miles to New York, NY.  Note that if you use this, you will need to request an API key from developer.google.com

<operator activated="true" class="web:enrich_data_by_webservice" compatibility="5.3.002" expanded="true" height="60" name="Google Maps Distance Lookup" width="90" x="313" y="30">
            <parameter key="query_type" value="XPath"/>
            <list key="string_machting_queries"/>
            <list key="regular_expression_queries"/>
            <list key="regular_region_queries"/>
            <list key="xpath_queries">
              <parameter key="Distance" value="//distance/text/text()"/>
            </list>
            <list key="namespaces"/>
            <parameter key="assume_html" value="false"/>
            <list key="index_queries"/>
            <list key="jsonpath_queries"/>
            <parameter key="service_method" value="fgfgfgf"/>
            <parameter key="body" value="text=&lt;%title%&gt;"/>
            <parameter key="url" value=""/>
            <parameter key="delay" value="20"/>
            <list key="request_properties">
              <parameter key="key" value="ENTER YOUR API KEY HERE"/>
            </list>
          </operator>

Find more posts tagged with