I need to move functionality for search something on map from normal page to leaflet controls on map. I'm searching for plugin to start with. Is it good idea to use a normal search plugin or it will be difficult to make it look like on the image? Does exist something like the base plugin to make custom controls?
Visualisation
You can use Leaflet.Control.Search, here's an example
If you want to go outside the map, here's another example
Related
Is it possible to style the map itself in Leaflet?
For example, by default it's a colorful map but I'd like to make it a light/grey style map for some of our sites.
I've seen some documentation about GeoJSON but that seems to be meant more for the layer above the map, like markers and polygons.
I'd like to be able to include or reference some sort of external stylesheet to change the appearance of the map instead.
Has anyone got some hints or documentation for me on how to accomplish this? Existing style sheet examples for maps would be very much appreciated as well. Maybe something like a gallery of styles or a Github repo.
Thanks in advance!
Using Mapbox-gl-draw (https://github.com/mapbox/mapbox-gl-draw)
I am able to get the basic example up and running, and this package does everything I need. However, I am having trouble figuring out how to activate the draw functionality programatically. For example, my application has some panel overlays, and as part of a form I'd like to activate the draw ability by clicking a custom button, not the control button that shows on the map. Ideally I'd like to keep the map control button hidden (which I can do).
I've scoured the documentation with no luck. Anyone have any insight?
Demo of the functionality I am referring to here: https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/
It's documented in the API reference
changeMode(mode: string, options?: Object): draw
Changes Draw to another mode. Returns the draw instance for chaining.
I would like to have a page with draggable elements. Something like this
gridster demo
The only difference is that I would like the user to have the option not only to resize but to hide and show the elements as well. (something like a dashboard)
the closest I came to is this :
angular dashboard but sadly I don't want to use angular.js
I would like to see if you guys know of any libraries like that.
thanks
Does anybody have any idea on how to easily implement a image list(like the windows explorer with medium icons) control with swt? it seems like that it could be done easily with CListCtrl in c++ on windows, but does not seem to be easy with swt? any hints are appreciated!
Up to me, you need to create your own widget (check e.g. http://www.snip2code.com/Snippet/11489/Custom-SWT-List-Box) and add composite items to your custom list.
If vertical-only scrolling is enough, I suggest you rely on a single column TableViewer. This is what I did in a project where I needed a gallery-like window allowing the user to pick a graphical component based on displayed thumbnails.
You just need to implement the proper TableLabelProvider.getColumnImage and return the desired thumbnail corresponding to your list entry.
That gives a pretty decent list-like rendering.
In addition, TableViewer API is very well documented.
here is what I would like to achieve:
I need to use an custom overlay like this https://developers.google.com/maps/documentation/javascript/examples/overlay-simple
as background for a set of points loaded from a Google Fusion Table like this
https://developers.google.com/maps/documentation/javascript/examples/layer-fusiontables-simple
Also if you could confirm this: I read that you can configure a custom icon for each point you display by adding a link to an icon in your Fusion table. Has anybody tired this?
I have searched examples for the above but I could not find an all in one example
thanks a lot
You can not display custom icons on FusionTablesLayer (it only displays a defined set of markers), you can use the data in the FusionTable to create native Google Maps API v3 custom icons, but you lose the performance benefit of FusionTablesLayer tiled rendering (which will be an issue if you have lots of markers).
example from the documentation
combination of the 2 Google examples