Skip to Content

sap.ui.vbm provider mapQuest error

Hi all ;

I use sap.ui.vbm library to show map and directions but it is not working now , I looked sapui5 vbm examples on web but all of them have same error screen. I think , it is common problem.

You can see the geomap example screen of sapui5 with this link ;

SAPUI5 Explored

What can I do to fix this error. If I buy an apikey from MapQuest , how can I use it in my code ?

I create the map in my .xml file like this ;

<vbm:GeoMap id="vbi" width="500px" xmlns:l="sap.ui.layout" initialPosition="{/bCoord}"

height="500px" initialZoom="{/zoom}" openWindow="onOpenDetail" closeWindow="onCloseDetail">

<vbm:vos >

<vbm:Routes >

<vbm:Route

position="{/coord}" tooltip="Long Route" color="rgba(92,186,230,1.0)" colorBorder="rgb(255,255,255)"

hotDeltaColor="RHLSA(0,1,1,0.6)" />

</vbm:Routes>

</vbm:vos>

</vbm:GeoMap>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 07:51 PM

    Hi,

    You can pass in a MapProvider and use google maps/Bin maps in stead of MapQuest.

    Change the MapProvider before the rendering of the GeoMap and you should be fine.

    Regards,

    Robin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.