Atrás

Ruta Talaia GR 121

Se ha producido un error al procesar la plantilla.
Method public void com.liferay.portlet.asset.service.persistence.AssetEntryQuery.setAllCategoryIds(long[]) threw an exception when invoked on {allCategoryIds=, allTagIds=, andOperator=false, anyCategoryIds=, anyTagIds=, classNameIds=, classTypeIds=null, description=, end=-1, excludeZeroViewCount=false, expirationDate=Mon Jul 24 18:53:09 GMT 2017, groupIds=1515268, keywords=null, linkedAssetEntryId=0, notAllCategoryIds=, notAllTagIds=, notAnyCategoryIds=, notAnyTagIds=, orderByCol1=null, orderByCol2=null, orderByType1=null, orderByType2=null, paginationType=null, publishDate=Mon Jul 24 18:53:09 GMT 2017, start=-1, title=null, userName=null, visible=true}
1<#assign PortalUtil = staticUtil["com.liferay.portal.util.PortalUtil"] /> 
2<#assign serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext()> 
3<#assign httpServletRequest = serviceContext.getRequest()> 
4<#if .vars['keywords']??> 
5    <#assign kWords = .vars['keywords'].getData()> 
6<#else> 
7    <#assign kWords = ""> 
8</#if> 
9${PortalUtil.addPageKeywords(kWords, httpServletRequest)} 
10 
11<#include "${templatesPath}/1980550" /> 
12 
13<style> 
14.izfeContenedorGral .taglib-header { 
15    display: none; 
16
17 
18.izfeContenedorMenu .asset-full-content.default-asset-publisher.show-asset-title { 
19    margin: 0; 
20
21</style> 
22<div id="izfeSpotCabecera" style="display:none;"> 
23 
24<img src="${head_image.getData()}" alt=""> 
25${plan.getData()} 
26</div> 
27<script> 
28var codes = [ 
29
30		en_US : "tornado", 
31		es_ES : "tormenta", 
32		eu_ES : "ekaitza", 
33	}, 
34
35		en_US : "tropical storm", 
36		es_ES : "tormenta", 
37		eu_ES : "ekaitza", 
38	}, 
39
40		en_US : "hurricane", 
41		es_ES : "tormenta", 
42		eu_ES : "ekaitza", 
43	}, 
44
45		en_US : "severe thunderstorms", 
46		es_ES : "tormenta", 
47		eu_ES : "ekaitza", 
48	}, 
49
50		en_US : "thunderstorms", 
51		es_ES : "tormenta", 
52		eu_ES : "ekaitza", 
53	}, 
54
55		en_US : "mixed rain and snow", 
56		es_ES : "nieve", 
57		eu_ES : "elurra", 
58	}, 
59
60		en_US : "mixed rain and sleet", 
61		es_ES : "lluvioso", 
62		eu_ES : "euria", 
63	}, 
64
65		en_US : "mixed snow and sleet", 
66		es_ES : "nieve", 
67		eu_ES : "elurra", 
68	}, 
69
70		en_US : "freezing drizzle", 
71		es_ES : "lluvioso", 
72		eu_ES : "euria", 
73	}, 
74
75		en_US : "drizzle", 
76		es_ES : "lluvioso", 
77		eu_ES : "euria", 
78	}, 
79
80		en_US : "freezing rain", 
81		es_ES : "lluvioso", 
82		eu_ES : "euria", 
83	}, 
84
85		en_US : "showers", 
86		es_ES : "lluvioso", 
87		eu_ES : "euria", 
88	}, 
89
90		en_US : "snow flurries", 
91		es_ES : "nieve", 
92		eu_ES : "elurra", 
93	}, 
94
95		en_US : "light snow showers", 
96		es_ES : "nieve", 
97		eu_ES : "elurra", 
98	}, 
99
100		en_US : "blowing snow", 
101		es_ES : "nieve", 
102		eu_ES : "elurra", 
103		video : "elurra" 
104	}, 
105
106		en_US : "snow", 
107		es_ES : "nieve", 
108		eu_ES : "elurra", 
109	}, 
110
111		en_US : "hail", 
112		es_ES : "lluvioso", 
113		eu_ES : "euria", 
114	}, 
115
116		en_US : "sleet", 
117		es_ES : "lluvioso", 
118		eu_ES : "euria", 
119	}, 
120
121		en_US : "dust", 
122		es_ES : "nieve", 
123		eu_ES : "elurra", 
124	}, 
125
126		en_US : "foggy", 
127		es_ES : "niebla", 
128		eu_ES : "lanbroa", 
129	}, 
130
131		en_US : "haze", 
132		es_ES : "niebla", 
133		eu_ES : "lanbroa", 
134	}, 
135
136		en_US : "smoky", 
137		es_ES : "niebla", 
138		eu_ES : "lanbroa", 
139	}, 
140
141		en_US : "blustery", 
142		es_ES : "tormenta", 
143		eu_ES : "ekaitza", 
144	}, 
145
146		en_US : "windy", 
147		es_ES : "viento", 
148		eu_ES : "haizea", 
149	}, 
150
151		en_US : "cold", 
152		es_ES : "nuboso", 
153		eu_ES : "hodeiak", 
154	}, 
155
156		en_US : "cloudy", 
157		es_ES : "nuboso", 
158		eu_ES : "hodeiak", 
159	}, 
160
161		en_US : "mostly cloudy (night)", 
162		es_ES : "nuboso", 
163		eu_ES : "hodeiak", 
164	}, 
165
166		en_US : "mostly cloudy (day)", 
167		es_ES : "nuboso", 
168		eu_ES : "hodeiak" 
169	}, 
170
171		en_US : "partly cloudy (night)", 
172		es_ES : "nuboso", 
173		eu_ES : "hodeiak", 
174	}, 
175
176		en_US : "partly cloudy (day)", 
177		es_ES : "nuboso", 
178		eu_ES : "hodeiak", 
179	}, 
180
181		en_US : "clear (night)", 
182		es_ES : "despejado", 
183		eu_ES : "garbi", 
184	}, 
185
186		en_US : "sunny", 
187		es_ES : "soleado", 
188		eu_ES : "eguzkia", 
189	}, 
190
191		en_US : "fair (night)", 
192		es_ES : "despejado", 
193		eu_ES : "garbi", 
194	}, 
195
196		en_US : "fair (day)", 
197		es_ES : "despejado", 
198		eu_ES : "garbi", 
199	}, 
200
201		en_US : "mixed rain and hail", 
202		es_ES : "lluvioso", 
203		eu_ES : "euria", 
204	}, 
205
206		en_US : "hot", 
207		es_ES : "soleado", 
208		eu_ES : "eguzkia", 
209	}, 
210
211		en_US : "isolated thunderstorms", 
212		es_ES : "tormenta", 
213		eu_ES : "ekaitza", 
214	}, 
215
216		en_US : "scattered showers", 
217		es_ES : "lluvioso", 
218		eu_ES : "euria", 
219	}, 
220
221		en_US : "heavy snow", 
222		es_ES : "nieve", 
223		eu_ES : "elurra", 
224	}, 
225
226		en_US : "scattered snow showers", 
227		es_ES : "nieve", 
228		eu_ES : "elurra", 
229	}, 
230
231		en_US : "partly cloudy", 
232		es_ES : "nuboso", 
233		eu_ES : "hodeiak", 
234	}, 
235
236		en_US : "thundershowers", 
237		es_ES : "tormenta", 
238		eu_ES : "ekaitza", 
239	}, 
240
241		en_US : "snow showers", 
242		es_ES : "nieve", 
243		eu_ES : "elurra", 
244	}, 
245
246		en_US : "isolated thundershowers", 
247		es_ES : "tormenta", 
248		eu_ES : "ekaitza", 
249	}, 
250
251		en_US : "cloudy", 
252		es_ES : "nuboso", 
253		eu_ES : "hodeiak", 
254	} ]; 
255codes[3200] = { 
256		en_US : "undefined", 
257		es_ES : "undefined", 
258		eu_ES : "undefined", 
259	}; 
260	 
261var izfeSpotCabecera = $("#izfeSpotCabecera").html(); 
262$("#izfeCarruselBideoak .izfeCarruselItemDestinationHeader").html(izfeSpotCabecera); 
263$.simpleWeather({ 
264location: '${latitude.getData()},${longitude.getData()}', 
265woeid: '', 
266unit: 'c', 
267language: 'es-ES', 
268success: function(weather) { 
269    $(".izfeTextoInformacion .icoWeather").addClass("izfeIcoClima" + weather.code); 
270    $(".izfeTextoInformacion .izfeTemperatura").html(weather.temp+'&deg;' + weather.units.temp); 
271}, 
272error: function(error) {console.error(error);} 
273}); 
274</script> 
275 
276<#assign journalArticleId = .vars['reserved-article-id'].data> 
277<#assign journalArticleTitle = .vars['reserved-article-title'].data> 
278<#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.portlet.journal.service.JournalArticleResourceLocalServiceUtil"]> 
279<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService")> 
280<#assign DDMStructureLocalService = serviceLocator.findService("com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService")> 
281<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetEntryLocalService")> 
282<#assign assetVocabularyLocalServiceUtil = staticUtil["com.liferay.portlet.asset.service.AssetVocabularyLocalServiceUtil"]> 
283<#assign assetCategoryLocalServiceUtil = staticUtil["com.liferay.portlet.asset.service.AssetCategoryLocalServiceUtil"]> 
284 
285<#assign spotStrKey = "" /> 
286 
287<#assign currentJournalArticle = journalArticleLocalService.getArticle(groupId, journalArticleId) /> 
288 
289<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 
290<#assign categoryList = assetCategoryLocalServiceUtil.getCategories("com.liferay.portlet.journal.model.JournalArticle",articleResourcePK) > 
291 
292<#assign currentDestinationCategory = "" > 
293<#assign currentDestinationCategoryName = "" > 
294<#assign currentActivityCategory = "" > 
295<#if categoryList?has_content> 
296    <#list categoryList as category> 
297        <#if category.getVocabularyId()?string == vocabularyDestination> 
298            <#assign currentDestinationCategory = category.getCategoryId() > 
299            <#assign currentDestinationCategoryName = category.getTitle(locale) > 
300        </#if> 
301        <#if category.getVocabularyId()?string == vocabularyActivity> 
302            <#assign currentActivityCategory = category.getCategoryId() >  
303        </#if> 
304    </#list> 
305</#if> 
306 
307<section> 
308	<div class="izfeTextoInformacion izfeInfoSpot"> 
309        <p>${latitude.getData()}ºN, ${longitude.getData()}ºW</p> 
310        <p style="text-transform:uppercase;">${currentDestinationCategoryName}</p> 
311        <#assign aDateTime = .now> 
312        <#assign aTime = aDateTime?time?string.short> 
313        <#assign aTime = ""> 
314        <p class="hora">${aTime}</p> 
315        <br class="izfeSeparadorInfospot" /> 
316        <p class="izfeTemperatura">ºC</p> 
317        <p><span class="icoWeather"></span></p> 
318        <#if getterUtil.getBoolean(accesible.getData())> 
319           <p><span class="izfeIcoAccesibilidad">${languageUtil.get(locale, "dit.spot.accesibility")}</span></p> 
320        </#if> 
321        <#if getterUtil.getBoolean(family.getData())> 
322           <p><span class="izfeIcoFamilia">${languageUtil.get(locale, "dit.spot.family")}</span></p> 
323        </#if> 
324         
325        <#assign currentCompleteUrl = request['scheme'] + "://" + request['server-name'] + request['attributes']['CURRENT_URL']> 
326        <#assign portalURL = httpUtil.getProtocol(request['attributes']['CURRENT_URL']) + "://" + getterUtil.getString(request['theme-display']['portal-url']) /> 
327        <section class="izfeBlogRedes"> 
328        	<h4>${languageUtil.get(locale, 'sharing')}</h4> 
329        	<ul> 
330            <#assign currentCompleteUrlHREF = htmlUtil.escapeHREF(currentCompleteUrl) /> 
331        	<#assign facebookShareUrl = "https://www.facebook.com/sharer/sharer.php?u=" + currentCompleteUrlHREF + "&picture=" + portalURL + head_image.getData()/> 
332                <li><a alt="Facebook" target="_blank" href="${facebookShareUrl}"><i aria-hidden="true" class="fa fa-facebook fa-fw" title="Facebook">&nbsp;</i></a></li> 
333            <#assign articleTitle = htmlUtil.escapeHREF(currentJournalArticle.getTitle(locale)) /> 
334        	<#assign twitterShareUrl = "https://twitter.com/home?status=" + articleTitle + "+" + currentCompleteUrlHREF /> 
335                <li><a alt="Twitter" target="_blank" href="${twitterShareUrl}" ><i aria-hidden="true" class="fa fa-twitter fa-fw" title="Twitter">&nbsp;</i></a></li> 
336        	</ul> 
337        </section> 
338         
339    </div> 
340 
341    <p class="izfeTextoDescripcion">${description.getData()}</p> 
342</section> 
343 
344<!-- ENLACES INFO --> 
345<section class="izfeEnlacesInfo"> 
346	<h2>${languageUtil.get(locale, "dit.spot.info")}</h2> 
347    <article> 
348		<div> 
349        <h3><a href="${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.link')}">${languageUtil.get(locale, "dit.spot.info.how.to.get.here")}</a></h3> 
350        <p>${languageUtil.get(locale, "dit.spot.info.how.to.get.here.description")}</p> 
351        <ul class="izfeListadoIconos"> 
352            <li class="izfeIcoTren"><a href="${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.link')}">${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.by.train')}</a></li> 
353            <li class="izfeIcoAvion"><a href="${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.link')}">${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.by.plane')}</a></li> 
354            <li class="izfeIcoTaxi"><a href="${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.link')}">${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.by.car')}</a></li> 
355            <li class="izfeIcoBarco"><a href="${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.link')}">${languageUtil.get(locale, 'dit.spot.info.how.to.get.here.by.boat')}</a></li> 
356        </ul> 
357		</div> 
358    </article> 
359    <article> 
360		<div> 
361        <h3>${languageUtil.get(locale, "dit.spot.info.useful.links")}</h3> 
362        <ul> 
363            <#if link_text.getSiblings()?has_content> 
364            	<#list link_text.getSiblings() as cur_highlighted_link_name> 
365                    <li><a href="${cur_highlighted_link_name.link_url.getData()}" target="_blank">${cur_highlighted_link_name.getData()}</a></li> 
366            	</#list> 
367            </#if> 
368        </ul> 
369		</div> 
370    </article> 
371    <article>  
372		<div> 
373        <h3><a href="${languageUtil.get(locale, 'dit.spot.info.central.booking.link')}" target="_blank">${languageUtil.get(locale, "dit.spot.info.central.booking")}</a></h3> 
374        <p>${languageUtil.get(locale, 'dit.spot.info.central.booking.description')}</p> 
375        <ul> 
376            <li><a href=""></a></li> 
377            <li><a href=""></a></li> 
378            <li><a href=""></a></li>  
379        </ul> 
380		</div> 
381    </article> 
382    <article> 
383		<div> 
384        <h3><a href="${languageUtil.get(locale, 'dit.spot.info.maps.link')}">${languageUtil.get(locale, 'dit.spot.info.maps')}</a></h3> 
385        <p>${languageUtil.get(locale, 'dit.spot.info.maps.description')}</p> 
386        <ul> 
387            <li><a href=""></a></li> 
388            <li><a href=""></a></li> 
389            <li><a href=""></a></li> 
390            <li><a href=""></a></li> 
391        </ul> 
392		</div> 
393    </article> 
394	<br class="separador"> 
395</section> 
396 
397 
398<#assign planList = assetVocabularyLocalServiceUtil.getVocabulary(getterUtil.getLong(vocabularyPlan)).getCategories() > 
399<!-- SPOTS --> 
400<div class="izfeDestacados"> 
401	<div class="izfeCarruselDestacados">	 
402<#assign htmlAside = "" /> 
403<#assign cont = 0 /> 
404<#assign assetEntryQueryService = objectUtil('com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil')> 
405    <#if planList?has_content> 
406        <#assign cont = 0 /> 
407        <#list planList as plan> 
408             
409            <#assign assetEntryQuery = objectUtil('com.liferay.portlet.asset.service.persistence.AssetEntryQuery')> 
410            <#assign V = assetEntryQuery.setGroupIds([groupId]) /> 
411            <#assign V = assetEntryQuery.setAllCategoryIds([plan.getCategoryId(),currentDestinationCategory]) /> 
412            <#assign V = assetEntryQuery.setClassTypeIds([getterUtil.getLong(spotStrId)]) /> 
413            <#assign entries = assetEntryQueryService.getEntries(assetEntryQuery)> 
414            <#if entries?has_content> 
415             
416            <#if cont == 0> 
417                <#assign htmlAside = htmlAside + "<li class='izfeOpcionLateralActiva'><span>" + plan.getTitle(locale) + "</span></li>" /> 
418            <#else> 
419                <#assign htmlAside = htmlAside + "<li><span>" + plan.getTitle(locale) + "</span></li>" /> 
420            </#if> 
421            <#assign cont = cont + 1 /> 
422            <#assign contSpot = 1 /> 
423            <#assign locations = "" /> 
424            <article class="izfeDestacadosAccesible"> 
425			    <h3>${plan.getTitle(locale)}</h3> 
426			    <div class="izfeMapa izfeDestacado_Mapa"> 
427			        <div id="gmap${cont}" class="izfeContenedorMapa">&nbsp;</div> 
428			    </div> 
429				<div class="izfeCarruselGeneral owl-carousel owl-theme"> 
430                <#assign divClosed = true /> 
431                <#assign first = true> 
432                <#list entries as spot> 
433                 
434                    <#assign journalArticleResource = journalArticleResourceLocalServiceUtil.getJournalArticleResource(spot.getClassPK()) /> 
435                    <#assign journalArticle = journalArticleLocalService.getLatestArticle(journalArticleResource.getResourcePrimKey()) /> 
436                     
437                    <#assign renderer = spot.getAssetRenderer() /> 
438                    <#assign ja = renderer.getArticle() /> 
439                    <#assign docXml = saxReaderUtil.read(ja.getContentByLocale(locale)) /> 
440                    <#assign rootElement = docXml.getRootElement() /> 
441                     
442                    <#assign head_image = docXml.valueOf("//dynamic-element[@name='head_image']/dynamic-content/text()") /> 
443                    <#assign thumbnail = docXml.valueOf("//dynamic-element[@name='thumbnail']/dynamic-content/text()") /> 
444                    <#assign enlaceSpot = "/-/" + ja.getUrlTitle() /> 
445                     
446                    <#assign spotCategories = spot.getCategoryIds() /> 
447                    <#list spotCategories as spotCat> 
448                        <#if spotCat == getterUtil.getLong(categoryFolkFest)> 
449                            <#assign enlaceSpot = docXml.valueOf("//dynamic-element[@name='schedule_link']/dynamic-content/text()") /> 
450                            <#if enlaceSpot == ''> 
451                                <#assign enlaceSpot = "${languageUtil.get(locale, 'dit.general.events.link')}"/> 
452                            </#if> 
453                        </#if> 
454                    </#list> 
455                    <#assign classNameSpot = "" /> 
456                    <#if contSpot == 1> 
457						<div> 
458						<#assign divClosed = false /> 
459					<#elseif contSpot == 2> 
460					</#if> 
461                     
462                    <div class="${classNameSpot} spotLink${spot.getEntryId()}"> 
463                        <#if thumbnail == ''> 
464						    <img alt="" src="${defaultImage}" /> 
465						 <#else> 
466						    <img alt="" src="${thumbnail}" /> 
467						 </#if> 
468						<div> 
469						    <h4>${spot.getTitle(locale)}</h4> 
470						</div> 
471                        <script> 
472                            $(".spotLink${spot.getEntryId()}").click(function(){ 
473                                window.location.href = "${enlaceSpot}"; 
474                            }); 
475                        </script> 
476					</div> 
477                    <#if contSpot == 2> 
478						</div> 
479						<#assign divClosed = true /> 
480						<#assign contSpot = 1 /> 
481					<#else> 
482						<#assign contSpot = contSpot + 1 /> 
483					</#if> 
484                </#list> 
485               
486                <#if divClosed == false> 
487                    </div> 
488                </#if> 
489                </div> 
490    			<ul class="izfeCarruselPaginado"> 
491    				<li class="izfeCarruselAnt">${languageUtil.get(locale, "dit.general.previous")}</li> 
492    				<li class="izfePagCarrusel"></li> 
493                    <li class="izfeCarruselSig">${languageUtil.get(locale, "dit.general.next")}</li> 
494    			</ul> 
495		    </article> 
496            </#if> 
497        </#list> 
498    </#if> 
499	</div> 
500	<aside class="izfeMenuLateral"> 
501		<h2>${languageUtil.get(locale, "dit.spot.options")}</h2> 
502		<ul> 
503		    ${htmlAside} 
504		</ul> 
505	</aside> 
506</div> 
507 
508<script> 
509<#if planList?has_content> 
510	<#assign cont = 0 /> 
511	<#list planList as plan> 
512	     
513	    <#assign assetEntryQuery = objectUtil('com.liferay.portlet.asset.service.persistence.AssetEntryQuery')> 
514        <#assign V = assetEntryQuery.setGroupIds([groupId]) /> 
515        <#assign V = assetEntryQuery.setAllCategoryIds([plan.getCategoryId(),currentDestinationCategory]) /> 
516        <#assign V = assetEntryQuery.setClassTypeIds([getterUtil.getLong(spotStrId)]) /> 
517        <#assign entries = assetEntryQueryService.getEntries(assetEntryQuery)> 
518 
519        <#if entries?has_content> 
520	    <#assign cont = cont + 1 /> 
521         
522var map${cont} = new Maplace({ 
523map_div: '#gmap${cont}', 
524generate_controls: false, 
525controls_on_map: false, 
526listeners: { 
527	click: function(map, event) { 
528		closeAllInfoView${cont}(); 
529
530}, 
531locations: [ 
532<#assign first = true> 
533<#assign contSpots = 0> 
534<#list entries as spot> 
535    <#assign contSpots = contSpots + 1> 
536	<#assign journalArticleResource = journalArticleResourceLocalServiceUtil.getJournalArticleResource(spot.getClassPK()) /> 
537	<#assign journalArticle = journalArticleLocalService.getLatestArticle(journalArticleResource.getResourcePrimKey()) /> 
538	<#assign renderer = spot.getAssetRenderer() /> 
539	<#assign ja = renderer.getArticle() /> 
540	<#assign docXml = saxReaderUtil.read(ja.getContentByLocale(locale)) /> 
541	 
542	<#assign enlaceSpot = "/-/" + ja.getUrlTitle() /> 
543                     
544    <#assign spotCategories = spot.getCategoryIds() /> 
545    <#list spotCategories as spotCat> 
546        <#if spotCat == getterUtil.getLong(categoryFolkFest)> 
547            <#assign enlaceSpot = docXml.valueOf("//dynamic-element[@name='schedule_link']/dynamic-content/text()") /> 
548            <#if enlaceSpot == ''> 
549                <#assign enlaceSpot = "${languageUtil.get(locale, 'dit.general.events.link')}"/> 
550            </#if> 
551        </#if> 
552    </#list> 
553	 
554	<#assign latitude = docXml.valueOf("//dynamic-element[@name='latitude']/dynamic-content/text()") /> 
555	<#assign longitude = docXml.valueOf("//dynamic-element[@name='longitude']/dynamic-content/text()") /> 
556	<#assign empty = "" />     
557	<#if "${latitude}" != "${empty}"> 
558		<#assign titleReplaced = ja.getTitle(locale)?replace("'", "") /> 
559		<#if first == true> 
560			<#assign first = false> 
561		<#else> 
562
563		</#if> 
564
565			lat: ${latitude}, 
566			lon: ${longitude}, 
567			title: '${titleReplaced}', 
568            map_options: { 
569                zoom: 12 
570            }, 
571			html: '<p>${titleReplaced}<br /><a href="${enlaceSpot}">${languageUtil.get(locale, "dit.general.see.more")}</a></p>', 
572			show_infowindow: true, 
573			icon: 'http://sansebastianregion.com/DIT-turismo-theme/img/marker.png', 
574			animation: google.maps.Animation.DROP 
575
576	</#if> 
577</#list> 
578], 
579map_options: { 
580  scrollwheel: false, 
581  <#if contSpots < 2> 
582    zoom: 12 
583  </#if> 
584}, 
585styles: { 
586'Pale Down': [{"featureType":"administrative","elementType":"labels.text.fill","stylers":[{"color":"#6195a0"}]},{"featureType":"administrative.province","elementType":"geometry.stroke","stylers":[{"visibility":"off"}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"lightness":"76"},{"saturation":"-62"},{"gamma":"1"}]},{"featureType":"landscape.man_made","elementType":"all","stylers":[{"lightness":"-3"},{"gamma":"1.00"}]},{"featureType":"landscape.natural.terrain","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"poi.attraction","elementType":"geometry.fill","stylers":[{"visibility":"off"}]},{"featureType":"poi.business","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"hue":"#00c2ff"},{"lightness":"23"}]},{"featureType":"poi.government","elementType":"geometry.fill","stylers":[{"visibility":"off"},{"color":"#d70707"}]},{"featureType":"poi.medical","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"hue":"#00ebff"},{"saturation":"-29"},{"lightness":"43"}]},{"featureType":"poi.park","elementType":"geometry.fill","stylers":[{"color":"#bae5ce"},{"visibility":"on"}]},{"featureType":"road","elementType":"all","stylers":[{"saturation":-100},{"lightness":45},{"visibility":"simplified"}]},{"featureType":"road.highway","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#fac9a9"},{"visibility":"simplified"}]},{"featureType":"road.highway","elementType":"labels.text","stylers":[{"color":"#4e4e4e"}]},{"featureType":"road.arterial","elementType":"labels.text.fill","stylers":[{"color":"#787878"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"simplified"}]},{"featureType":"transit.station.airport","elementType":"labels.icon","stylers":[{"hue":"#0a00ff"},{"saturation":"-77"},{"gamma":"0.57"},{"lightness":"0"}]},{"featureType":"transit.station.rail","elementType":"labels.text.fill","stylers":[{"color":"#43321e"}]},{"featureType":"transit.station.rail","elementType":"labels.icon","stylers":[{"hue":"#ff6c00"},{"lightness":"4"},{"gamma":"0.75"},{"saturation":"-68"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#eaf6f8"},{"visibility":"on"}]},{"featureType":"water","elementType":"geometry.fill","stylers":[{"color":"#c7eced"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"lightness":"-49"},{"saturation":"-53"},{"gamma":"0.79"}]}] 
587}, 
588beforeViewAll: function() { 
589	for (i=0;i<map${cont}.markers.length;i++) { 
590		var marker = map${cont}.markers[i]; 
591		if(i == 0) { 
592		    marker.setIcon("http://sansebastianregion.com/DIT-turismo-theme/img/markerSelected.png"); 
593
594		marker.info = new google.maps.InfoWindow({ 
595			content:marker.html 
596		}); 
597		google.maps.event.addListener(marker, 'click', (function(marker, i) { 
598			return function() { 
599				for (j=0;j<map${cont}.markers.length;j++) { 
600					map${cont}.markers[j].setIcon("http://sansebastianregion.com/DIT-turismo-theme/img/marker.png");            
601
602				map${cont}.markers[i].setIcon("http://sansebastianregion.com/DIT-turismo-theme/img/markerSelected.png"); 
603				saltarDestacado(map${cont}.map_div, i); 
604
605		})(marker, i)); 
606
607
608}).Load(); 
609 
610function closeAllInfoView${cont}() { 
611    map${cont}.CloseInfoWindow(); 
612
613	 
614</#if> 
615</#list> 
616</#if> 
617</script> 
618<script type="text/javascript" src="https://www.gipuzkoa.eus/documents/1031592/1083054/moment.min.js/32a32b7c-b9f3-46cc-9f95-d3d20e4b9e2e"></script> 
619<script type="text/javascript" src="https://www.gipuzkoa.eus/documents/1031592/1083054/moment-timezone-with-data-2010-2020.min.js/c8fe3be5-f2dc-4194-8cf8-dac48cf7ab9c"></script> 
620<script> 
621$(function(){ 
622  setInterval(function(){ 
623    $('.hora').text(moment.tz('Europe/Madrid').format('HH:mm A')); 
624  },1000); 
625}); 
626</script> 

La fecha de inicio es mayor que la fecha final

La fecha de inicio es mayor que la fecha final

Agenda

Agenda

  • Anterior
  • Siguiente