Đã hoàn thành

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>

Kỹ năng: Bản đồ học & Bản đồ, Java, JSP, Kiến trúc phần mềm, Kiểm tra phần mềm

Xem thêm: 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

Về Bên Thuê:
( 302 nhận xét ) Carmel Valley, United States

Mã Dự Án: #6539011

Đã trao cho:

Mithil01

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

$10 USD trong 1 ngày
(0 Đánh Giá)
0.0

2 freelancer đang chào giá trung bình $10 cho công việc này

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

$10 USD trong 1 ngày
(2 Đánh Giá)
4.6