Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to set up a PhoneGap application with an ArcGIS Map using a Windows Phone template in Visual Studio 2012.

I have tried using an example from the ArcGIS Javascript API samples to incorporate a Mobile map in my application:

This has not worked. I am getting the following error in Visual Studio when I try to link to the external CSS files:

Unable to edit ''. The style sheet must be part of the current project and the project must be a Web Site or Web Application project.

I found a similar example of setting up a PhoneGap project for Android with an ArcGIS Map, but this has also not worked for me.

Does anyone know of a working sample PhoneGap project to incorporate a map, using the ArcGIS Javascript API? Alternatively, does anyone know how I can get around the error with linking the stylesheet?

share|improve this question
You could download the API(…) and host it yourself? – Devdatta Tengshe Apr 30 '13 at 14:07
We had the Android version running,… no windows phones here to test/debug – Mapperz Apr 30 '13 at 14:34
If it's showing that error for the html, the link may be correct for your app, but it is different from the path that Visual Studio e.g. your using a absolute path /app/css/my.css versus relative css/my.css If that's the case, you can ignore. – awesomo Apr 30 '13 at 16:30
Thanks Devdatta, I will try that. – Seth P. Apr 30 '13 at 17:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.