Forum Replies Created
-
AuthorPosts
-
Karine VOINCON
Participant@ Steven
Great !! Thank you .
I’ll wait for the update.Karine VOINCON
Participant@ Steven **
**RE: Because there are no routing features in OSM (no way to actually get directions).Ah okay I have understood. :) Thank you for the info.
And for now, for the “layer control”, I’m going to put a “display none”.Karine VOINCON
Participant@ Steven
Happy New Year !!!
RE: OSM does not have a routing feature. The only other option would be to generate a link to another routing provider which happens to use the OSM map tiles. I can not think of any of hand. Honestly, not sure it worth the effort. The button is simply a link to Google Maps with a latitude/longitude. No other information is passed and none is being queried from Google, at all.
Why not redirect the link to OSM, like this:
https://www.openstreetmap.org/#map=16/49.4414/6.0798
_https://www.openstreetmap.org/#map=[zoom]/[latitude]/[longitude]_-
This reply was modified 7 years, 7 months ago by
Karine VOINCON.
Karine VOINCON
Participant@ Steven
Oops, I thought the demo models showed OSM.
I saw your post and that’s what I would like. thanks!- But the “control layers” at the top right is not displayed correctly.
- And the link “Get Directions” in the popup refers to google-map and not to OpenStreetMap.
Is it possible to fix these small issues at the next update?
I think that “control layers” is not essential with OSM.Regards.
Karine VOINCON
Participanthere is the script I added :
<script> $( document ).ready(function() { document.getElementById('DiapoHeader').classList.remove('ui-slider', 'ui-slider-horizontal', 'ui-widget', 'ui-widget-content', 'ui-corner-all'); $('span[class^="ui"]').remove(); }); </script>Karine VOINCON
Participant@ Steven
It’s been several hours I want, but I can not find.
But I found a trick to parry: I added a script in my theme which removes the Classname “ui-slider ui-slider-horizontal ….” and the “span class=”ui-slider-handle ….” ” in my header
Karine VOINCON
Participant@ Steven
Here is what I have at line 1214 :
$.fn.slider = function (arg) { return this.each(function () { var element = $(this), data = element.data("slider"), options = typeof arg === "object" && arg; if (!data) { data = new Slider(element, options); element.data("slider", data); } if (typeof arg === "string" && data[arg]) { data[arg](); } else if (data.settings.auto && element.is(":visible")) { data.start(); } }); };But I do not know very well javascript.
Will you give me more detailsKarine VOINCON
Participant@ Steven
I tried to change the name of the class in div concerned, but nothing changes.
It does not matter, I will use Connections Hours with “select” instead of “slider”But thank you for your help
Karine VOINCON
Participant@ Steven
Still searching, I realized that the update Connections (8.5.18) had not gone well. Indeed missing files “jquery-ui-fresh.css” and “jquery-ui-fresh.min.css”. I correctly reinstall Connections (8.5.18), and the bug in my header reappeared. Even with the two other disabled plugins.
I opened “connections_hours.php” and changed the line 157:
wp_register_script ( ‘jquery-timepicker’ CNBH_URL. “assets / js / jquery-ui-timepicker-addon $ min.js’, array ( ‘jquery’, ‘jquery-ui-datepicker’, ‘jquery-ui-slider’) ‘1.4.3’);
amended as follows:
wp_register_script ( ‘jquery-timepicker’ CNBH_URL “assets / js / jquery-ui-timepicker-addon $ min.js ‘, array (‘ jquery ‘,’ jquery-ui-datepicker ‘), 1.4.3.’);
My header reappears, but in the timepicker the hour and minute changes to select field.
see by yourself here
-
This reply was modified 10 years, 1 month ago by
Karine VOINCON.
-
This reply was modified 10 years, 1 month ago by
Karine VOINCON.
Karine VOINCON
ParticipantOK it does not matter
The easy solution I found is to turn off my header for the Connections Form page.
But thank you for your help.
-
This reply was modified 7 years, 7 months ago by
-
AuthorPosts
