Devam Ediyor

Multiple Polylines on Google Maps API

I am using the following sample in the Google Maps API. This creates one polyline. I want the ability to create multiple polylines with different colors and widths. Please provide sample of entire code.

I will pay $10 for this.

<!DOCTYPE html>

<html>

<head>

<meta name="viewport" content="initial-scale=1.0, user-scalable=no">

<meta charset="utf-8">

<title>Simple Polylines</title>

<style>

html, body, #map-canvas {

height: 100%;

margin: 0px;

padding: 0px

}

</style>

<script src="[url removed, login to view]"></script>

<script>

// This example creates a 2-pixel-wide red polyline showing

// the path of William Kingsford Smith's first trans-Pacific flight between

// Oakland, CA, and Brisbane, Australia.

function initialize() {

var mapOptions = {

zoom: 3,

center: new [url removed, login to view](0, -180),

mapTypeId: [url removed, login to view]

};

var map = new [url removed, login to view]([url removed, login to view]('map-canvas'),

mapOptions);

var flightPlanCoordinates = [

new [url removed, login to view](37.772323, [url removed, login to view]),

new [url removed, login to view](21.291982, [url removed, login to view]),

new [url removed, login to view]([url removed, login to view], 178.431),

new [url removed, login to view]([url removed, login to view], 153.027892)

];

var flightPath = new [url removed, login to view]({

path: flightPlanCoordinates,

geodesic: true,

strokeColor: '#FF0000',

strokeOpacity: 1.0,

strokeWeight: 2

});

[url removed, login to view](map);

}

[url removed, login to view](window, 'load', initialize);

</script>

</head>

<body>

<div id="map-canvas"></div>

</body>

</html>

Beceriler: Haritacılık &amp; Haritalar, Java, JSP, Yazılım Mimarisi, Yazılım Test Etme

Daha fazlasını görün: software testing in australia, head first software testing, google maps s, google js, ff0000, create js with html content, australia brisbane, architecture brisbane, google maps please, google api map, trans, software testing brisbane, geoDESIC, api testing, google map api sample, script src, user scalable, create geodesic, api flight, google content script, Brisbane Australia, canvas sample, simple document architecture, google maps api multiple maps, create simple maps

İşveren Hakkında:
( 302 değerlendirme ) Carmel Valley, United States

Proje NO: #6539011

Seçilen:

Mithil01

HI, [url removed, login to view] If this is what you are looking for then i have the sample code for it Mithil

1 gün içinde 10$ USD
(0 Değerlendirme)
0.0

2 freelancer bu iş için ortalamada 10$ teklif veriyor

stefanache

Hello, The solution will be based on -CSS3,HTML5,JS/JQuery(ajax)+GoogleMap API/Openlayers+ You agree this? Thanks. The demo can track at [url removed, login to view]~barosanu/GAF_6539011

1 gün içinde 10$ USD
(2 Değerlendirme)
4.6