openlayers 3 - Write text in OpenLayers3 -
i need write text in openlayers 3... not label, text object, can select , drag around map. text must have multiple lines. tried use point ol.style.text, isn't multiline. tried popups, need text displayed. there way use text feature (ol.format.textfeature)? there object can use purpose? thanks!!
you can use ol.overlay
that. overlay element
can be. has position positioning can set @ time.
see example: http://openlayers.org/en/v3.9.0/examples/overlay.html?q=overlay
you use map browser events (pointerdown, pointerup) , if target overlay element move around , update position.
Comments
Post a Comment