AW: [OpenLayers-Users] Greetings

Budschedl Harald Harald.Budschedl at ikt.linz.at
Wed May 25 04:59:21 EDT 2011


Mille Gracie Alessandro.

I will try that.

Cya
Harry

Von: Alessandro Ferrucci [mailto:alessandroferrucci at gmail.com]
Gesendet: Dienstag, 24. Mai 2011 17:39
An: Budschedl Harald
Cc: Marc Jansen; openlayers-users at lists.osgeo.org
Betreff: Re: [OpenLayers-Users] Greetings

Hello Harald,

You can perform what you've said by giving an ID ('select') to your select box in the HTML and changing

document.createElement('select');

with

document.getElementById('select');

there may be other cross-browser funkiness to get this to work exactly as you want but that's the gist of it.

Hope this helps,

Regards,
Alessandro Ferrucci
On Tue, May 24, 2011 at 6:57 AM, Budschedl Harald <Harald.Budschedl at ikt.linz.at<mailto:Harald.Budschedl at ikt.linz.at>> wrote:
Hey Mark!

Thanks alot. If I understand this right, the Select box is being created by your example. But it's a good lead anyway.
Now I just  have to find a way to change this, so an existing selectbox is filled :)

Cya,
H.

Von: openlayers-users-bounces at lists.osgeo.org<mailto:openlayers-users-bounces at lists.osgeo.org> [mailto:openlayers-users-bounces at lists.osgeo.org<mailto:openlayers-users-bounces at lists.osgeo.org>] Im Auftrag von Marc Jansen
Gesendet: Dienstag, 24. Mai 2011 12:46
An: openlayers-users at lists.osgeo.org<mailto:openlayers-users at lists.osgeo.org>
Betreff: Re: [OpenLayers-Users] Greetings

On 24.05.2011 11<tel:24.05.2011%2011>:31, Budschedl Harald wrote:
Hi there

Hi Harry,


I am new to the mailinglist and wanted to shout a quick "Hello world" into the room :)

welcome to the mailinglist :-)


I am currently working forthe IKT Linz Gmbh, a company which provides IT services for the Magistrate and the Companies of the City of Linz. We started with GIS Systems as early as 1987 and I am in that field of work since 1991.

Lately I had more and more "brushes" with the OpenLayers theme and became interested. I am not much of a programmer anymore (I released my last real program about 10 years ago), but did recently start to sniff into JavaScript a bit... ;)
I also was at the last FOSSGIS in Germany, where I had the opportunity to attend an ol-workshop, which was very good but too short...
 ATM I am fiddling around with an OpenLayers page that displays our data and just cracking my head on an "Adress Search"-function that utilizes a selfmade Webservice (which deliveres GeoJSON) using AJAX.I just have to find out how to cram the contents of my JSON Object into the options of my selectbox - if possible without having to dig into things like jquery... I like the "K.I.S.S" motto and really want to keep it simple and stupid.

You could iterate over the GeoJSON-object and do sth. like:

var s = document.createElement('select');
s.id<http://s.id>='sel';
var o1 = document.createElement('option')
var o2 = document.createElement('option')
o1.text = "Opt 1";
o2.text = "Opt 2";
s.appendChild(o1);
s.appendChild(o2);
document.body.appendChild(s); // untested

but any of the JavaScript-libraries out there will make this task easier and more-likely to work cross-browser.

Regards,
Marc

Ok, so much for my, myself and my experiments :)

Cya on the list!
Harry

Freundliche Grüße/Regards

Harald Budschedl
Geodaten Management (Geo)
Productmanager, Projectmanager, Consultant

IKT Linz GmbH
Ein Unternehmen der Stadt Linz

4040 Linz, Hauptstraße 1-5
AUSTRIA

Tel.     +43 732 7070 4787<tel:%2B43%20732%207070%204787>
Fax      +43 732 7070 54 4787<tel:%2B43%20732%207070%2054%204787>
visit            www.linz.at/ikt<http://www.linz.at/ikt>
mailto: harald.budschedl at ikt.linz.at<mailto:gerhard.schoeller at ikt.linz.at>



________________________________
Diese Nachricht inklusive aller Anhänge kann vertrauliche Informationen enthalten. Sie ist ausschließlich für die adressierten Personen bestimmt. Das unerlaubte Kopieren sowie die unbefugte Weitergabe sind nicht gestattet. Sollten Sie nicht die richtige Adressatin/der richtige Adressat sein, vernichten Sie den gesamten Inhalt (§ 93 Abs. 4 Telekommunikationsgesetz 2003) und informieren Sie bitte sofort den/die Absender/in. Nähere Regelungen zur elektronischen Kommunikation mit der Stadt Linz finden Sie in den "Allgemeinen Hinweisen und Nutzungsbestimmungen betreffend das E-Government der Stadt Linz (e-linz)" ( http://www.linz.at/images/AGB_egov_2008.pdf )

IKT Linz GmbH, Firmenbuch des Landesgerichtes Linz ++ Firmenbuch-Nummer: 321197z ++ UID-Nummer: ATU64636344
IKT Linz Infrastruktur GmbH, Firmenbuch des Landesgerichtes Linz ++ Firmenbuch-Nummer: 321990s ++ UID-Nummer: ATU64664303
A-4020 Linz, Gruberstraße 42, Tel. +43 732 7070 0<tel:%2B43%20732%207070%200>, Fax: +43 732 7070 54 1555<tel:%2B43%20732%207070%2054%201555>, office at ikt.linz.at<mailto:office at ikt.linz.at>, www.linz.at/ikt<http://www.linz.at/ikt>





_______________________________________________

Users mailing list

Users at lists.osgeo.org<mailto:Users at lists.osgeo.org>

http://lists.osgeo.org/mailman/listinfo/openlayers-users


________________________________
Diese Nachricht inklusive aller Anhänge kann vertrauliche Informationen enthalten. Sie ist ausschließlich für die adressierten Personen bestimmt. Das unerlaubte Kopieren sowie die unbefugte Weitergabe sind nicht gestattet. Sollten Sie nicht die richtige Adressatin/der richtige Adressat sein, vernichten Sie den gesamten Inhalt (§ 93 Abs. 4 Telekommunikationsgesetz 2003) und informieren Sie bitte sofort den/die Absender/in. Nähere Regelungen zur elektronischen Kommunikation mit der Stadt Linz finden Sie in den "Allgemeinen Hinweisen und Nutzungsbestimmungen betreffend das E-Government der Stadt Linz (e-linz)" ( http://www.linz.at/images/AGB_egov_2008.pdf )

IKT Linz GmbH, Firmenbuch des Landesgerichtes Linz ++ Firmenbuch-Nummer: 321197z ++ UID-Nummer: ATU64636344
IKT Linz Infrastruktur GmbH, Firmenbuch des Landesgerichtes Linz ++ Firmenbuch-Nummer: 321990s ++ UID-Nummer: ATU64664303
A-4020 Linz, Gruberstraße 42, Tel. +43 732 7070 0<tel:%2B43%20732%207070%200>, Fax: +43 732 7070 54 1555<tel:%2B43%20732%207070%2054%201555>, office at ikt.linz.at<mailto:office at ikt.linz.at>, www.linz.at/ikt<http://www.linz.at/ikt>

_______________________________________________
Users mailing list
Users at lists.osgeo.org<mailto:Users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/openlayers-users



--
Signed,
Alessandro Ferrucci

________________________________
Diese Nachricht inklusive aller Anhänge kann vertrauliche Informationen enthalten. Sie ist ausschließlich für die adressierten Personen bestimmt. Das unerlaubte Kopieren sowie die unbefugte Weitergabe sind nicht gestattet. Sollten Sie nicht die richtige Adressatin/der richtige Adressat sein, vernichten Sie den gesamten Inhalt (§ 93 Abs. 4 Telekommunikationsgesetz 2003) und informieren Sie bitte sofort den/die Absender/in. Nähere Regelungen zur elektronischen Kommunikation mit der Stadt Linz finden Sie in den "Allgemeinen Hinweisen und Nutzungsbestimmungen betreffend das E-Government der Stadt Linz (e-linz)" ( http://www.linz.at/images/AGB_egov_2008.pdf )

IKT Linz GmbH, Firmenbuch des Landesgerichtes Linz ++ Firmenbuch-Nummer: 321197z ++ UID-Nummer: ATU64636344
IKT Linz Infrastruktur GmbH, Firmenbuch des Landesgerichtes Linz ++ Firmenbuch-Nummer: 321990s ++ UID-Nummer: ATU64664303
A-4020 Linz, Gruberstraße 42, Tel. +43 732 7070 0, Fax: +43 732 7070 54 1555, office at ikt.linz.at, www.linz.at/ikt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110525/ec649f86/attachment-0001.html


More information about the Users mailing list