Solved

I want to replace mapquest URL with google URL

Posted on 2013-10-22
2
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

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

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.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Suggested Courses

622 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