Revision: 3794
Author: ksprotte
URL: http://bknr.net/trac/changeset/3794
new POI slot: lod-min - the lod minimum used in Google Earth
Users can customize this in the CMS. This intends to address the issue:
KML/Google Earth: Aus gr?\195?\182?\195?\159erer H?\195?\182he soll das BOS-Icon immer zu sehen sein
An arbitrary POI can be chosen or newly created for this purpose - it
needn't even be "published-web".
U trunk/projects/bos/m2/packages.lisp
Modified: trunk/projects/bos/m2/packages.lisp
===================================================================
--- trunk/projects/bos/m2/packages.lisp 2008-09-04 14:37:34 UTC (rev 3793)
+++ trunk/projects/bos/m2/packages.lisp 2008-09-04 17:18:28 UTC (rev 3794)
@@ -203,7 +203,7 @@
;; slot-strings
#:slot-string
#:set-slot-string-values
-
+
;; pois
#:title #:subtitle #:description ; for slot-string access
#:update-textual-attributes
@@ -226,6 +226,7 @@
#:poi-area
#:poi-icon
#:poi-media
+ #:poi-lod-min
#:make-poi
#:update-poi
#:poi-complete
@@ -239,7 +240,7 @@
#:poi-panoramas
#:poi-movies
#:make-poi-javascript
-
+
;; news
#:news-item
#:make-news-item
Revision: 3787
Author: ksprotte
URL: http://bknr.net/trac/changeset/3787
clearer interface for kml-upload-handler
U trunk/projects/bos/web/kml-handlers.lisp
Modified: trunk/projects/bos/web/kml-handlers.lisp
===================================================================
--- trunk/projects/bos/web/kml-handlers.lisp 2008-09-04 09:49:18 UTC (rev 3786)
+++ trunk/projects/bos/web/kml-handlers.lisp 2008-09-04 10:40:59 UTC (rev 3787)
@@ -58,9 +58,22 @@
;; we want this after the processing
(:p (:format "last-change: ~A"
(format-date-time (store-object-last-change kml-root-data 0)))
+ " "
(cmslink (format nil "/kml-upload?lang=~A&action=download" language)
"download current version")))))
- (submit-button "upload" "upload"))))))
+ (submit-button "upload" "upload"))
+ (:p "Please note that the " (:b "download current version")
+ " links above show you the kml files exactly like you
+ uploaded them. These are not the KML files as seen by the
+ users.")
+ (:p "For the actually served kml files some automatic
+ replacements are being done. You can inspect those by the
+ following links:")
+ (:p (dolist (kml-root-data (class-instances 'kml-root-data))
+ (let ((language (language kml-root-data)))
+ (html (cmslink (format nil "/kml-root?lang=~A" language)
+ (:format "kml ~A" language))
+ " "))))))))
(defmethod handle-form ((handler kml-upload-handler) (action (eql :download)))
(with-query-params (lang)