[OpenLayers-Users] Re: OpenLayers + Phonegap + WFS
gabriel
gpetricek at gmail.com
Thu Nov 24 11:07:23 EST 2011
Hi,
thanks for your respond. Im new in phonegap and so as in java. Im using
Eclipse DK. I am not sure, what are you meaning :) .
Here is my source code:
Phonegap2Activity.java
----------------------
package com.phonegap2;
import android.os.Bundle;
import com.phonegap.*;
public class Phonegap2Activity extends DroidGap {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/index.html");
}
}
index.html
-----------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PhoneGap</title>
<link rel="stylesheet" type="text/css" href="style.css"></link>
</head>
<body onload="init()">
<div id="map"></div>
</body>
</html>
Like i previous wrote. I see only WMS background not features. Can you pls
help me, what should i set?
Best regards.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Phonegap-WFS-tp7027573p7028658.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list