I just setup GMWP on a site. Things work according to the test, but when editing a post, map does not show at bottom. When adding an address, I get ooops, Maps do not load correct.
Any ideas?
Thx
]]>Thx.
]]>I’m planning to develop a customized map for our school premises, aiming to help students locate specific areas within and outside the school. I’d like to inquire about the capabilities of your plugin in achieving this.
Key Requirements:
Additional Questions:
Thank you for your time and assistance. I look forward to hearing about the capabilities of your plugin.
Best regards,
Joshua
Does the plugin work with DIVI? I pasted the required short code but the map is invisible on front. I’ve got no errors, just no map on the frontpage. Thanks in advance for any help.
]]>how can I make it so that when I do a search only my location (the search location) and nearby shops within the radius defined in the shortcode [ASL_STORELOCATOR fixed_radius=‘2000’] are shown?
many thanks
]]>That /src/
is the relative path. As in, it’s trying to load example.com/src/handlers/distance.js
. And, yeah, that file doesn’t exist. So my server returns a 404.
I can’t easily reproduce this. I was trying to generate a map with elevation profile. I was playing with [elevation-track]
and then [elevation]
and then [sgpx]
. At some point wordpress added a <br />
into my shortcodes. I removed it, saved, and then the page’s elevation charts all disappeared. I checked the js console and found that it was failing to load the javascript files above, getting a 404 back from the server. I tried restoring the wordpress post to an older version, but the same problem exists — the elevation half of the map is missing, and the web browser is failing to load these javascript assets.
Has anyone else experienced this? Any idea why wordpress is giving the wrong path to these javascript assets?
]]>The recent job I creating is not showing location map. Also I can’t see those custom fields where I could set geolocation_lat and geolocation_long. The custom field checkbox also disappeared from Screen option. What is the solution.
Screenshot: https://ibb.co/2MdstZm
]]>if ( $http_accept ~ "image/webp" ) {
set $webp .webp ;
}
location ~* (.*)\.(?:png|jpe?g|gif)$ {
if ( -f $document_root$1.webp ) {
set $webp serve$webp ;
}
if ( $webp = "serve.webp" ) {
return 301 '$1.webp';
}
}
I had also tried this code, which is more efficient, but unfortunately it didn’t work for me:
if ( $http_accept ~ "image/webp" ) {
set $webp '.webp' ;
set $type 'image/webp';
}
location ~* \.(png|jpe?g|gif)$ {
add_header Vary Accept;
add_header X-Type "static/known";
add_header Cache-Control "public, max-age=2592000";
add_header Vary "Accept-Encoding";
add_header Access-Control-Allow-Origin *;
add_header content-type $type;
default_type '$type';
try_files $uri$webp $uri =404;
}
]]>