Solved

I want to replace mapquest URL with google URL

Posted on 2013-10-22
2
222 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 185 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

776 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