Skip to Content
avatar image
Former Member

Need to place spot with different color on GEOMap

Hello,

I am displaying suppliers alerts in geomap and need to color Spot red if alert is critical. Is it possible to do? If not, what other control could I use? I couldn't find documentation for geocircles.

Thanks a lot!

Ella.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 30, 2014 at 01:36 PM

    HI Ella,

    You are right, there is no color attribute for spots. The reason is that spots are displayed images with their own colors. In order the get a spot in a different color just replace the image.

    Images need to be provided in the resource section of the JSON as base64 encoded binaries. Thus we ensure the same origin policy. You can bind a image to a spot VO, to make it easy to replace it.

    For using geocircles you find docu here: UI5 Development: Visualization Object Circles and you can take this https://sapui5.netweaver.ondemand.com/sdk/test-resources/sap/ui/vbm/sapapi_circle.html as an example.


    Cheers Uwe

     

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Ella,

      I am sorry, but there is no double click event. It is also not really foreseen that you implement zoom on double click on your own. We support zoom on double tap on mobile/touch devices, but on desktop we only support zoom with mouse wheel or by drawing a rectangle.

      If you think zoom on double click is important on desktop as well, we might provide this with an next version.

      Best regards,

      Uwe