Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

I want to replace mapquest URL with google URL

Posted on 2013-10-22
2
Medium Priority
?
242 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 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Viewers will learn the different options available in the Backstage view in Excel 2013.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

670 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