Đã 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>



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

<meta charset="utf-8">

<title>Simple Polylines</title>


html, body, #map-canvas {

height: 100%;

margin: 0px;

padding: 0px



<script src="[url removed, login to view]"></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'),


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);




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



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 nhiều hơ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

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

ID dự án: #6539011

Được trao cho:


HI, [login to view URL] 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á)

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


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

$10 USD trong 1 ngày
(2 Nhận xét)