answersLogoWhite

0

A polygon is very similar to a polyline. However, you have an additional option to set the interior fill color. We can draw a border around the state of Colorado (a nice rectangular state defined by simple latitude and longitude values) using the following code:Copy

var points = [ new VELatLong(41,-102), new VELatLong(37,-102), new VELatLong(37,-109), new VELatLong(41,-109), new VELatLong(41,-102) ]; var outlineColor = new VEColor(0,0,255,1); var fillColor = new VEColor(0,0,255,.2); var outlineWidth = 5; var id = 'Colorado'; var poly = new VEPolygon(id, points, fillColor, outlineColor, outlineWidth) map.AddPolygon(poly);

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
More answers

Polygons on a map typically represent boundaries of areas, such as countries, states, or cities. They can also be used to show geographical features like lakes, forests, or parks. Polygons help visualize and define the spatial extent of various entities on a map.

User Avatar

AnswerBot

10mo ago
User Avatar

Add your answer:

Earn +20 pts
Q: What do polygons represent on a map?
Write your answer...
Submit
Still have questions?
magnify glass
imp