I have a problem with the display of the marker layer, because the
coordinates do not match
this is my code:
function init()
{
options={
projection: new OpenLayers.Projection(EPSG:900913),
displayProjection: new OpenLayers.Projection(EPSG:4326),
Thanks for!
I also tried to set 'projection', the provisions of the marker changes the
coordinates but still do not match.
2009/2/16 JuergenL o...@albspotter.org
new1[0] = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss/blu.xml',
{'icon':color[0]} );
You could try to set a projection
Hello everyone
I have a problem to change the icon and the size of the marker when I use
OpenLayers.Layer.GeoRSS, any size and any icon cheque with OpenLayers.Icon
is not taken.
Show always the marker by default.
This is my code :
yelp = new OpenLayers.Icon(blu.png, new OpenLayers.Size(20,29));
I tryed this code but also this doesn't work it continues to take marker as
default,I have also considered your example but it isn't useful to solve my
problem
var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml',
{'icon':yelp});
Alan wrote:
And that:
var newl = new
Try this:
yelp = new OpenLayers.Icon(blu.png, new OpenLayers.Size(20,29));
new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', options);
new1.icon = yelp
--
View this message in context:
http://www.nabble.com/Problem-with-marker-tp18217050p18405500.html
Sent from the
That does not work,
It always take the marker default.
yelp = new OpenLayers.Icon(blu.png, new OpenLayers.Size(20,29));
var options = {
'icon': yelp
};
new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', options);
___
And that:
var newl = new OpenLayers.Layer.GeoRSS( 'Yelp GeoRSS', 'yelp-georss.xml',
{'icon':yelp});
Please see this example:
http://openlayers.org/dev/examples/georss-markers.html
Alan
Marcello Brunaldi wrote:
That does not work,
It always take the marker default.
yelp = new
Hello everyone
I have a problem to change the icon and the size of the marker when I use
OpenLayers.Layer.GeoRSS, any size and any icon cheque with OpenLayers.Icon
is not taken.
Show always the marker by default.
This is the code.
yelp = new OpenLayers.Icon(blu.png, new OpenLayers.Size(20,29));
Hi,
You should try this:
var options = {
icon: yelp
};
new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', options);
Alan
Marcello Brunaldi wrote:
Hello everyone
I have a problem to change the icon and the size of the marker when I
use OpenLayers.Layer.GeoRSS, any size and
small mistake,
var options = {
'icon': yelp // not icon: yelp
};
Alan
Alan Boudreault wrote:
Hi,
You should try this:
var options = {
icon: yelp
};
new1 = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'georss.xml', options);
Alan
Marcello Brunaldi wrote:
Hello everyone
Hello everyone
I have a problem to change the icon and the size of the marker when I use
OpenLayers.Layer.GeoRSS, any size and any icon cheque with OpenLayers.Icon
is not taken.
Show always the marker by default.
This is the code.
yelp = new OpenLayers.Icon(blu.png, new OpenLayers.Size(20,29));
11 matches
Mail list logo