Social Networking :: How To Create Google Markers Having Dynamic Images From Folder

Apr 14, 2013

Show google map with markers and list the address in listview.I have created 20  images of google marker numbered from 1 to 20(Example marker-1.jpg,marker-2.jpg....marker-20.jpg).If i want to display 20 locations in google map  with makerimages numbered from 1-20,how can i set the url of the icon in the marker options?Here's the code i have written.

var markers = [
<asp:Repeater ID="rptMarkers" runat="server">
<ItemTemplate>
{
"title": '<%# Eval("Name") %>',
"lat": '<%# Eval("Latitude") %>',
"lng": '<%# Eval("Longitude") %>',
"description": '<%# Eval("Description") %>'

[code]...

View 1 Replies


Similar Messages:

Social Networking :: Add Markers To Google Maps Using Address

May 7, 2015

I am looking for multi marker google map from sql server database, I have following code with me which is working perfectly fine but instead of fetching data from sql server it is fetching from xml. How can bind it from sql server to show multi marker.

xml data

<markers>
<marker address="630 LAS GALLINAS, San Rafael CA"/>
<marker address="2ND ST, Novato CA"/>
<marker address="2402 SIR FRANCIS DRAKE BLVD, fairfax CA"/>

<marker address="255 CANAL ST, San Rafael CA"/>
</markers>

[CODE]

View 1 Replies

Social Networking :: Drag And Drop Markers In Google Maps V3

May 7, 2015

i have to display google map with movable pushins(marker).if we will drag these on anoother location and click the submit button than new lattitude nad longitude will be save in the database and updat also....

View 1 Replies

Social Networking :: Display Markers From CSV File In Google Maps

Apr 10, 2014

Maps using only in Client side validation (Not using Asp.Net)

1) It must get the longitude and latitude from CSV file and it must be a fileupload and loads dynamically using Jquery.

2) Multiple markers showing different location.

View 1 Replies

Social Networking :: How To Delete (clear) Markers When Clicked On Google Maps V3

May 7, 2015

I want to delete the previous markers when i select new marker below my code.

<html>
<head>
<script
src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false">
</script>
<script>
var map;
var myCenter=new google.maps.LatLng(51.508742,-0.120850);

[Code] .....

View 1 Replies

Social Networking :: Populate Colored Markers In Google Maps From Database

Dec 9, 2013

I want to display data from database in GeoMap. My database table is:

Station Name Danger Levels
St-01 Normal(blue)
St-02 Danger(red)
St-06 Warning(yellow)
St-10 Danger(red)
St-11 Warning(yellow)

Now in GeoMap, For Particular state(of Malaysia), I need to show the different stations and danger level(using colors defined in above table) related to each stations (from above database table). Need to understand the code as per my requirement: URL...

View 1 Replies

Social Networking :: How To Show Multiple Markers On Google Maps From Database

Feb 28, 2013

I've a scenario in my website where there is a search page.

When the user fills the search criteria and submits the search button , a Google map will be displayed with a pin depicting the addresses listed by the returned records.

View 1 Replies

Social Networking :: How To Drop Google Markers One By One After Specific Interval Of Time

Apr 30, 2013

I have written the following code to display multiple markers in google map and i succeeded in it.Now i want to have a drop animation applied to markers and want to drop marker after a specific interval of time.I know i want to call setTimeout method ,but don't know where to call this method to achieve the result

<script type="text/javascript">
window.onload=function(){
if(markers.length>0){
var mapOptions={
center:new google.maps.LatLng(markers[0].lat,markers[0].lng),

[Code] ....

View 1 Replies

Social Networking :: Populate Google Maps Markers Without Latitude And Longitude?

Jun 16, 2015

i'm trying to display location dynamically using google map.

The location will be passed as a parameter as follows.

country, city, address and block number.

How can i implement that?

View 1 Replies

Social Networking :: Populate Markers In Google Maps Using Longitude And Latitude

Apr 6, 2013

Reverse Geocoding (Address Lookup)

How can i retrieve map for location after save latitude , longitude in the database....

I used code for saving latitude , longitude [URL] .....

View 1 Replies

Social Networking :: Show Google Map With Markers And List Address In ListView

Apr 11, 2013

I have a scenario where, when user searches for a particular program a list of possible programs should be  displayed from database and show  it on google map with google markers depicting those addresses. I have achieved it successful with your answer ASP.Net: Populate Google Maps V3 with Multiple Markers using Address Latitude and Longitude values stored in database

Now my question is how can we display those markers with numbers and show the address corresponding to that number in listview.

For Reference [URL] ...

Type basketball in the field QuickSearch and click the search button ...

View 1 Replies

Social Networking :: Google Maps API Display Markers - Find Shortest Path Using TSP

Jul 25, 2013

i want to include google maps API into my ASP.NET page and allows users to input the locations(few places) they are going to visit. When the user inserts the location, the google maps API will mark these locations. It means in the maps it will mark the places. some red bubble to indicated the places is marked.

for example,i list a few checkboxes beside the check boxes will have a places'name. when the checkbox is checked, Google maps will make markers on these location. How to do this?

IF after the places is marked in google maps, i want to get some information from google maps (such as the coordinates of the all the marked place). Then,  use google maps to run some code behind to find the shortest path using Travelling Salesman Problem (TSP) algorithm.

After that,generate the proper sequences of the places ( which place to go first, and which place to go last). is it possible to be done?

View 1 Replies

Social Networking :: Search Locations In Database And Display Markers In Google Maps

Oct 21, 2015

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
var markers = [
<asp:Repeater ID="rptMarkers" runat="server">

[CODE]..

My DB Schema - 

My DB Sample Data -

How do i display a particular marker on the map based on my search based on the koid or city field?

View 1 Replies

Social Networking :: Filter And Display Google Map Markers From DB Based On DropDownList Selection

May 7, 2015

in our project we need to show the markers on Google map from the database. we have already got the code in which all the markers are displayed for the the places stored in database. But our aim is somewhat different.We need marker on one place that is selected from the database.to elaborate,if we select an area from the dropdownlist that contains names of areas stored in database,then "only" marker on that place must be displayed.Further,selecting the subarea from dropdownlist2 should zoom the map and display a marker on that subarea.so how do we do that? what are the changes required to be made in this code?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

[code]...

View 1 Replies

Social Networking :: Display Numbers Or Letters Or Alphabets In Markers Google Maps V3

May 7, 2015

[URL]

I saw this code it is good but,I have to insert letters inside the markers?

If the marker is yellow color we have to insert 'y' inside that yellow color markers,if it is blue 'b' have to insert.

How would I?

View 1 Replies

Social Networking :: Google Maps Display Colored Markers For Particular Type Of Location

May 7, 2015

private DataTable GetData(string query) {
string conString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
MySqlCommand cmd = new MySqlCommand(query);
using (MySqlConnection con = new MySqlConnection(conString)) {
using (MySqlDataAdapter sda = new MySqlDataAdapter())

[Code] ....

In above C# code, I want to change the color of DataTable row "Upstream" based on If condition from code behind. I tried below code, but its not working:

decimal res = Convert.ToDecimal(Upstream);
if (res <= 0 && res >= 2) {
Color col = ColorTranslator.FromHtml("#0000FF");
Upstream = Color.Blue;
} else {
Color col = ColorTranslator.FromHtml("#FFFFFF");
Upstream = Color.Red;
}

View 1 Replies

Social Networking :: Share Text And Images On Google Plus?

Dec 11, 2013

I want to share text and images on Google Plus using C# asp.net application. I have alredy implemented this  for  Facebook wall Post and Twitter Twitt using your refrance code.

(I am using 3- tire architeture (C# ASP.NET) for implementing website )

View 1 Replies

Social Networking :: Share Text And Images On Google Plus

May 7, 2015

I want to share text and images on Google Plus using C# asp.net application.

View 1 Replies

Social Networking :: Images Not Showing In Google Chrome Or Mozilla FireFox

Apr 27, 2016

 I am having an issue with images not showing in Chrome or FireFox. In chrome i get this message in the Console "Not allowed to load local resource.". The images appear fine and correct in IE11 & MS Edge. I'm assuming this is some king of security problem I need to address, but am not at all sure what.

I have posted the code behind and Mark Up below.

// Code Behind
string imgPath = Server.MapPath("/images/");
List<FileInfo> images = new List<FileInfo>();

[Code].....

View 1 Replies

Social Networking :: Upload File To Google Drive Directly From Folder (Directory) Without Using FileUpload Control

Feb 25, 2016

I want to know how to upload local file to google drive without using file upload or html input file control.. i have file path and other information. I am using web application and vb language...

View 1 Replies

Social Networking :: How To Create Google Maps And Add To Website

Jul 6, 2013

How to create Google Site Map in asp.net.

View 1 Replies

Social Networking :: Display Different Color Markers Based On Types Of Locations

Apr 30, 2013

I am doing a graduation project ..... it suppose to be with google maps asp.net first i used ur code to show multiple markers and i did the code that  get the location by ur ip address but when i mergine these codes together none of them work..i just need when i open my website  the map centered on my location and and showing the markers in that area this is the code that i found for  location by ip address

<script type="text/javascript">
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(success);
} else {
alert("Geo Location is not supported on your current browser!");

[code]...

and another thing how to change the marker i wanna put any image but every marker has his own image according to table is db  marker type = 1 then the image is..... . png ETC.

View 1 Replies

Social Networking :: How To Use Google Maps

Oct 6, 2013

I want to use google map , which show the location, address

How to do this....?

View 1 Replies

Social Networking :: Login With Google Account API

May 7, 2015

All the facebook, twitter & LinkedIn api are working properly i have integrated this into my project. But still google api code is not findin in your site. 

View 1 Replies

Social Networking :: Integrating Google Analytics

Sep 13, 2012

I need to implement google analytics in my asp.net website where I can see all website visits, Bounce Rates, Unique Visitors, Page Views, Country, etc from my website admin panel.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved