Select to view content in your preferred language

Strange map behavior with API version 3.0 and above

1317
6
05-13-2013 11:48 AM
AshishArora
Deactivated User
Hello

I am facing a very strange behavior with map when using with Telerik Kendo Mobile. I have created a JSbin link to reproduce the issue.

Link: http://jsbin.com/ucupal/1/edit

Issue: When using ArcGIS api for Javascript version 3.0 and above with Telerik Kendo Mobile, Map disappears in specific cases but with version 2.8 of API map continues to display.


How to reproduce problem on Iphone  using the code provided in above jsbin link:

1). After running the above code on your device, Click Info ("i") button placed in NavBar. This will navigate to another view where you will find Input type search and one back button.

2). If you click back button, it will navigate back to main view and will show map but if you type something using IOS keyboard in search box and then click back button, you will not find map anymore.


I tried the same process with API version 2.8 and it works but not for versions above 3.0.


Any Ideas / suggestions .

Thanks
Ashish...
0 Kudos
6 Replies
JeffJacobson
Frequent Contributor
This is a known issue that also occurs with jQuery UI and other platforms.  There is a workaround, though.
ArielIllouz
Deactivated User

Hello Ashish,

Recently i encountered with the same behavior you describe here with kendo mobile and esri map. So, the map view is blank after edit some data from different view and going back to the map. Do you have some workaround for that ? i'm using esri 3.9

Note - the workaround hyperlink Jeff post here is broken.

Thank you,

Ariel

0 Kudos
JeffJacobson
Frequent Contributor

I've fixed the broken link in my earlier post above.

0 Kudos
ArielIllouz
Deactivated User

thank you Jeff, this is very helpfull

0 Kudos
AshishArora
Deactivated User

Hello Ariel

The issue was not only related to edit but also with the rotation where you get blank map once you return from another view.

Actually, whenever you return to the map view, you will find the height and width of map become zero because of which no map in the view.

You need to resize and reposition the map.

0 Kudos
ArielIllouz
Deactivated User

yea, got it...thanks.

0 Kudos