3

I was wondering if it was possible to overlay an icon marker over a geometry object in Open Street Maps. I am using gwt-openlayers which is a java wrapped version of the open layers api with an Open Street Map tile server in Eclipse. If anyone has any knowledge about this I'd greatly appreciate it.

Thanks,

Matt

AmanicA
  • 4,659
  • 1
  • 34
  • 49
Mr.Powers
  • 163
  • 7

2 Answers2

2

You can if these geometric objects are points by using the externalGraphic property which is a URL of the image.

If you need to overlay them on top of a polygon just create an ImageOverlay on top of the center of the polygon.

capdragon
  • 14,565
  • 24
  • 107
  • 153
2

I have it figured out. I am just making two different layers, one for the markers and one for the geometry figures. I am overlaying the markers over the geometry figures by adding the markers to the top of the layer list.

Mr.Powers
  • 163
  • 7