Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I want to replace mapquest URL with google URL

Posted on 2013-10-22
2
Medium Priority
?
244 Views
Last Modified: 2013-11-17
I have this snippet of code in my xslt file which is currently pointed to mapquest but would like to replace with google maps

      <a>
                                    <xsl:attribute name="href">
                                          http://www.mapquest.com/maps/map.adp?countrycode=250&country=US&address=<xsl:value-of select="$Street"/>&amp;zipcode=<xsl:value-of select="$Zip"/>
                                    </xsl:attribute>
                                    <img src="/SiteCollectionImages/Map.gif" border="0"/>
                              </a>
0
Comment
Question by:bujjigadu
2 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 39594894
bujjigadu --
Just a guess.  I would think you would replace

http://www.mapquest.com/maps/map.adp?countrycode=250&country=US&address

with the URL for Google Maps.  (perhaps http://www.google.com/maps/about/explore/ )
0
 
LVL 33

Accepted Solution

by:
shalomc earned 740 total points
ID: 39596371
try something like this as the base for your maps: the address can be passed in the URL.

https://maps.google.com/maps?q=180+87th+Street,+Brooklyn,+NY,+United+States
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question