Gpolygon add text problem

asked 2021-04-08 15:43:14 +0800

TARSIM gravatar image TARSIM

updated 2021-04-09 12:53:43 +0800

cor3000 gravatar image cor3000
5868 2 7
ZK Team

Is there any way to add text or label into Gpolygon witout using gmarker?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-04-09 12:53:15 +0800

cor3000 gravatar image cor3000
5868 2 7
ZK Team

Google's maps-api docs don't mention a label (or similar) on a polygon.


If I didn't miss anything you'll have to add an additional GMarker or GInfo to display a label.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2021-04-08 15:43:14 +0800

Seen: 5 times

Last updated: Apr 09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More