Languages

Menu
Sites
Language
[Tizen Application-dev] How to use OpenLayers in a Tizen Web App

Hi,

I am facing an issue in using OpenLayers with Tizen.
In fact, my web application is perfectly working on the simulator, but the map is not displaying on the emulator and the device.

I
have this error "ReferenceError: Can't find variable: OpenLayers" when I
am running my application and trying to generate the map.
That's why I think it is an issue caused by the OpenLayers library's import.

I tried to import it with the URL (http://openlayers.org/api/OpenLayers.js) but also to download it even if it's an heavy library, nothing works.
I am repeating that everything is fine on the simulator.

Did anyone try to use OpenLayers with Tizen or meet this issue ?
How can I solve it ?

Regards,
Théo.

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
praveen kumar talari
hi add "http://openlayers.org/ or "*"" in 'access' of "config.xml" file
Guerin
It works, your reply is very helpful, thank you very much !