🇩🇪Germany @christianadamski

Berlin, Germany
Account created on 22 July 2010, about 15 years ago
#

Merge Requests

More

Recent comments

🇩🇪Germany christianadamski Berlin, Germany

christianadamski made their first commit to this issue’s fork.

🇩🇪Germany christianadamski Berlin, Germany

Removed the conflicting files and added a dependency on search_api_location instead.

🇩🇪Germany christianadamski Berlin, Germany

I do not have an answer ready, but the by API you mean the PHP side? Like in the geolocaitonGooglePlaceAPI.php Plugin?

That one calls https://maps.googleapis.com/maps/api/place/details/json under the hood.

The widget works with the JS API instead. File geolocation-google-places-api-geocoder.js in v3. Calling JS google.maps.places.PlacesService.getDetails().

I assume these give different results? Or they determine different "Place ID"?

Can you test that?

🇩🇪Germany christianadamski Berlin, Germany

I used this issue to fix a lot of PHP issues, which is fine.

But the issue you point out is a bit weirder. The files in questions are just copies of https://www.drupal.org/project/search_api_location

I think they should simply be deleted and instead that module required? Can you test that?

🇩🇪Germany christianadamski Berlin, Germany

Applied midly altered. Thanks!

Also added a D10 pass to CI to catch similar issues automatically.

🇩🇪Germany christianadamski Berlin, Germany

https://www.drupal.org/project/geolocation/issues/3522323 Remove dependency on jQuery Active

(This issue is less than a month old. Please search before posting issues, its easier for everyone.)

🇩🇪Germany christianadamski Berlin, Germany

Hidden Map/Layer Features!

🇩🇪Germany christianadamski Berlin, Germany

@todo:
- Point/Marker support
- Google Maps
- Shapes in Yandex/Baidu/?

🇩🇪Germany christianadamski Berlin, Germany

Can you upload a sample file and 1-2 screenshots? And describe what a better solution would look like?

🇩🇪Germany christianadamski Berlin, Germany

Regarding SearchAPI, there is a gap I think. There is SearchAPI support for Geolocation field and geometry, but GPX is its own entity type. So it would probably need separate SearchAPI integration.

🇩🇪Germany christianadamski Berlin, Germany

Hey,

it's just me. In my spare time. Just to manage expectations.

For each error, please open an issue with the error description and maybe screenshots.

As for GPX, its conceptually hard. A GPX file can contain any amount of trails with any amount or tracks waypoints etc. So they are stored in a separate entity type. The GPX file field just keeps a reference to the uploaded data.

If you have more specific questions, please ask.

🇩🇪Germany christianadamski Berlin, Germany

The solution is this:

scripts/at.responsiveLists.js

line first & last

(function ($, Drupal, window) {
})(jQuery, Drupal, window);

to

(function ($, Drupal, window, once) {
})(jQuery, Drupal, window, once);

line 46

list.once().each(init);

to

$(once('at-responsive-list', list)).each(init);

I can't provide patch or MR as the package.json toolchain doesn't work anymore and I can't minimize the JS with that.

🇩🇪Germany christianadamski Berlin, Germany

This now works in v4. v3 is only getting bugfixes at this point.

🇩🇪Germany christianadamski Berlin, Germany

Interaction with geometry objects now works in formatter and views in v4. v3 is not getting worked on beyond bugfixes.

🇩🇪Germany christianadamski Berlin, Germany

Shouldn't the latter happen anyway?
I mean, if you ignore geolocation and just imagine a regular list view; shouldn't the filter only show relevant entries?

🇩🇪Germany christianadamski Berlin, Germany

I think the underlying issue is, that geolocation currently doesn't tell you, that points are not treated as shapes, but as locations/markers.

Closing in favor of 📌 Unify fit locations & fit shapes Active

🇩🇪Germany christianadamski Berlin, Germany

At some point this must have been fixed in v4. Cannot reproduce anymore.

🇩🇪Germany christianadamski Berlin, Germany

Of course heavily outdated by now, but just for the record:

In geolocation v4 putting

<button href="#" onclick="alert('Welt');">Hallo</button>

into a node and displaying that in the popup on a marker works perferctly fine.

🇩🇪Germany christianadamski Berlin, Germany

Eh, what now? Z-Index of what? Icon? Marker? I honestly don't know. What specifically needs the z-index?

🇩🇪Germany christianadamski Berlin, Germany

Cannot reproduce. Nobody else seems to have this issue. Will close.

🇩🇪Germany christianadamski Berlin, Germany

Nobody interested. So just remove Bing maps.

🇩🇪Germany christianadamski Berlin, Germany

Nobody else seems to run into this. Works fine here. Might be project specific.

🇩🇪Germany christianadamski Berlin, Germany

Nobody else seems to experience this. Might be project specific. Closing.

🇩🇪Germany christianadamski Berlin, Germany

Wait, you want to the map to contiously follow the user? That's a completely different use-case.

🇩🇪Germany christianadamski Berlin, Germany

I went locally from a clean v3 to v4, and the maps were correctly centered on the markers. So I cannot reproduce this locally.

🇩🇪Germany christianadamski Berlin, Germany

Hey,

I understand the issue, but chose a different approach. Client location marker will only be set once location is available.

🇩🇪Germany christianadamski Berlin, Germany

christianadamski made their first commit to this issue’s fork.

🇩🇪Germany christianadamski Berlin, Germany

I might add, jQuery is replaced in v4. v3 still depends on jQuery elements.

🇩🇪Germany christianadamski Berlin, Germany

Works fine here..

🇩🇪Germany christianadamski Berlin, Germany

I'd suggest to release this as v3 (?)

🇩🇪Germany christianadamski Berlin, Germany

Also tested locally manually. Works fine.

🇩🇪Germany christianadamski Berlin, Germany

- Merged MR fixes
- Fixed Testing issues
- Brought code to PHPStan level 6
- Drupal coder Coding Style fixes
- Disabled CSPell check

🇩🇪Germany christianadamski Berlin, Germany

christianadamski made their first commit to this issue’s fork.

🇩🇪Germany christianadamski Berlin, Germany

jQuery is already removed. Only leftovers are by core. Autocomplete widget & ajaxComplete events.

🇩🇪Germany christianadamski Berlin, Germany

I just logged out and tried to access an /admin page and was not redirected...

🇩🇪Germany christianadamski Berlin, Germany

That did not work. I don't know how to build this. I exported it as is.

🇩🇪Germany christianadamski Berlin, Germany

I don't know how to build this workflow. Just exchange to event?

🇩🇪Germany christianadamski Berlin, Germany

Well, can you look up, if Tianditu is officially available worldwide now? I remember a year ago, I could not access there website, now I can...

If it really and officially and permanently is available everywhere, we could merge it back to geolocation.

I may have the same problem as with Baidu though: I cannot get map keys. For Baidu you need a chinese commercial something number. I don't have that obviously.

🇩🇪Germany christianadamski Berlin, Germany

Please remove or explain the placeId usage and the sessionToken

🇩🇪Germany christianadamski Berlin, Germany

This change does a lot more though...

🇩🇪Germany christianadamski Berlin, Germany

Seems outdated? Nobody else came forward with a problem..

🇩🇪Germany christianadamski Berlin, Germany

I had to alter it a bit..

Thanks!!

🇩🇪Germany christianadamski Berlin, Germany

christianadamski made their first commit to this issue’s fork.

🇩🇪Germany christianadamski Berlin, Germany

christianadamski created an issue.

🇩🇪Germany christianadamski Berlin, Germany

There are Formatters for the address field available in v3 and v4...?

Production build 0.71.5 2024