Buy Questpond's video subscriptions on
huge discount
.
Online: 10137
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
how to show different map on one button click
Posted by
Shanky11
under
ASP.NET
on 6/3/2013 |
Points: 10
| Views : 1883 | Status :
[Member]
| Replies : 1
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
i am working on a project . 4 that i have created a page on that page i need that whenever i click on diff. link the map should come for different place.
see the below link .i just want like this
http://www.gucci.com/uk/storelocator
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Allemahesh
on: 6/13/2013
[Member]
[MVP]
Silver
|
Points: 25
0
You can do this by below process.
1. When you click on link, you need to write a javascript function and pass the lat and long to that function as a parameter.
2. On this function, you can clear the map by calling initialize() method.
3. You can use the below function to draw the maker my passing the mylatlng.
function createMaker(myLatLng)
{
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: 'Hello World!'
});
}
Link for marker is : https://developers.google.com/maps/documentation/javascript/overlays#Markers
Hope this will help you.
Shanky11
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...