Advertisement:

Author Topic: Connect Open Street Maps  (Read 608 times)

Willem

  • Newbie
  • *
  • Posts: 19
Connect Open Street Maps
« on: August 04, 2018, 10:18:48 am »
I have a problem with Connect Open Street Maps

What can I do to solve this?


dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work

Willem

  • Newbie
  • *
  • Posts: 19
Re: Connect Open Street Maps
« Reply #2 on: August 04, 2018, 03:11:50 pm »
Thanks, it will study

Willem

  • Newbie
  • *
  • Posts: 19
Re: Connect Open Street Maps
« Reply #3 on: August 11, 2018, 01:12:19 pm »
It did not work.
Contacted my provider
He says there is a mistake in the plugin.
An incorrect folder is referenced.

Must contact the maker.
But there is no more

So removed  :-[

Willem

  • Newbie
  • *
  • Posts: 19
Re: Connect Open Street Maps
« Reply #4 on: September 18, 2018, 10:18:37 pm »
I found the error

Go to index

Search

Code: [Select]
// OpenStreetMap CSS
osc_enqueue_style('leaflet', osc_base_url() . 'oc-content/plugins/open_street_maps/css/leaflet.css');

// OpenStreetMap JavaScript
osc_register_script('leaflet', osc_base_url() . 'oc-content/plugins/open_street_maps/js/leaflet.js');
osc_enqueue_script('leaflet');

 Change to

Code: [Select]
// OpenStreetMap CSS
osc_enqueue_style('leaflet', osc_base_url() . 'oc-content/plugins/osm_maps/css/leaflet.css');

// OpenStreetMap JavaScript
osc_register_script('leaflet', osc_base_url() . 'oc-content/plugins/osm_maps/js/leaflet.js');
osc_enqueue_script('leaflet');

It works fine for me