I have two or more location duplicate point data in my KML. In google earth I can only see one point data at first. When I click it and then its separated, and able to click other duplicate point.
My problem is that I don't know the logic which point is front in the first place. I need specific point data to be at front before it's separated because of visual perspective. I try to change placemarks order in KML but the result was same.
I think you're asking how to control which point's ICON shows up at a location with multiple points, before you click on it to expand/separate them all out? Unfortunately there is no way that I know of to control which point/icon shows up on top. It seems like when I create or edit points at the same location, the last one to be touched/edited comes out on top, but I don't know if that's consistent, nor whether it persists when saved to KML... probably not.
By the way, welcome to StackOverflow. Please read the instructions on how to ask good questions. Your question is not very clear, and would benefit from including info on what you have already tried, and what didn't work.
Related
I am attempting to create more than one possible route for a sailboat charter in the British Virgin Islands this year. I am trying to use Google Earth Pro to map out those routes. It worked great to map out one route option. I cannot find a way to save that route and create a different route within the same group of islands. It appears to me (in my ignorance) that once one creates a route in any spot on the planet, that is the only route one can have in that spot unless one totally deletes the existing route and starts over? Is that true?
Is there a way to create multiple "what-if" routes and save them separately as routes and not as just an images or screen captures?
If not in Google Earth Pro, should I be looking into some other product?
I created one "what-if" route. I can save it off as an image. I looked into "layers" hoping I could create, show, and hide my own layers. It looks to me like they only have pre-canned layers? I tried creating a second "My Place" but I can't find a way to show one "My Place" and hide another when they are both in the same location. Is that possible.
Note: If this is not the sort of question one would ask in stackoverflow, sorry. I was surprised when I searched internet looking for a solution that it brought up similar questions here. I hope it's ok to post this here and that someone can shed some light. THANKS!!
So I am working on a project that awards points to students for submitting assignments or participating in forums, these points are then exposed as an Http resource using Flask.
The points are calculated by looking at the events triggered for each student.
One of the requirements right now is to add a box next to the student's name that shows the total amount of points they have. I have two ways of accessing the points, either by an http request from moodle or by storing and retrieving the points from moodle's database.
My question is what is the best approach of creating this "box", I have tried using moodle blocks and hacking the code but nothing seems to be working. Is creating a plugin for this the only solution or is there a simpler way to do it (if it is even possible)?
To answer your question properly you should have provided at least the theme and the Moodle version you work with. Should this box be displayed everywhere? Is the score calculated for every course individually?
Two proposals that came into my mind:
You could create a custom plugin of type block. There you can display the score of the user of the session and the top ten for example (If the score is calculated for each course individually). A disadvantage is that every teacher of a course could remove that block easily, if he or she wants to.
If the score counts system-wide you could put that box at the start page of your Moodle website, where only people with higher rights will be able to remove it.
If you use boost you could display the score in the navbar right next to the users name. For that you will have to create a new child theme of boost and overwrite navbar.mustache of theme_boost which get's it's information from columns2.php because it's included into columns2.mustache. In this PHP file you can include your logic and display it with the HTML which you put into navbar.mustache.
Of course these are not really simple ways to do that. But at the moment I doubt that an easy solution exists for this problem.
Oftentimes when I browse Leaflet maps with Mapbox.com data (using some sort of open, standardized database), I notice that the satellite images and/or data are out of date. It would be extremely useful to somehow get to see the year/date when the current tile/map/view was shot/obtained/photographed/created/edited, in order to determine how out of date with reality a given location is.
Is this data available? If so, how would I best display it in Leaflet? I imagine some sort of subtle year/date text in the middle of each "area" or something, or maybe allow me to right-click anywhere to get a little pop-up telling me this info.
I added a point on openstreetmap several months ago, and that point is not showing in the standard layer (or any other layer).
When I click on the interrogation mark, I can see that the point exist in the database, but no icon is showing for that point :
If someone can tell me why this is happening (because it is not the first time), I will really appreciate it.
Here are also the point link https://www.openstreetmap.org/node/4541228705 to verify by yourself if you want to.
Not all POIs are shown on the standard layer. This can have several reasons:
The POI is too unimportant to display it.
The POI hasn't been added to the renderer stylesheet yet.
The POI is in the stylesheet but not in the renderer database and a re-import of the database would be necessary.
The POI is in the stylesheet and the database but there is not enough space to show it.
Your POI is tagged as office=association. Currently the office key is not rendered on the standard style. There is already a [corresponding issue for openstreetmap-carto (the current default rendering style).
In other words: You did everything right. The reason for the office not being rendered is not your fault. Unfortunately you have to wait until the rendering stylesheet gets updated (you might participate in the mentioned issue to speed things up). Do not change the tagging just to make it appear on the map (also called tagging for the renderer). The good news is: Geocoders / routing engines will find your office nevertheless (e.g. Nominatim)! There might even exist other OSM-based maps with a different stylesheet that already show your POI.
SO I am a totally new and do not know where to begin. I basically want to create a view that shows the users current location and directs them to my set location (park, concert, business, etc.). It seems fairly simple but there is so much smoke and mirrors online that I do not know where to start or how to finish. Would it be easier to call to google maps or use the mapview in the SDK?
And the bigger question is how do you do this? I mean I can create simple views and load webviews but I can not figure this out.
Use MKMapView .. its fairly straightforward to set up -- you can get the current location from CLLocationManager and pass its coordinates to the map view.
http://mithin.in/2009/06/22/using-iphone-sdk-mapkit-framework-a-tutorial
Have a look at this website http://www.martip.net/blog/localized-current-location-string-for-iphone-apps
it will help you with the current location thing.
Directions are part of the Maps application and are not available in the MapKit API. To give your users Google Maps directions, you need to use the Maps URL scheme, as documented in the Apple URL Scheme Reference. Specifically, you need to include the saddr and daddr parameters in the URL, which specify the start and destination addresses for a directions search, respectively. I believe you can pass latitude/longitude coordinate pairs (comma-separated) for those parameters, but you’ll have to experiment a bit to find the correct formatting and order.
By "direct" do you mean actually show a path for how to get there? That there is no API for. You can place a pin anywhere on a map to show people where something is, but they have to figure out how to get there themselves.
The term you are looking for to add points to a map is adding Annotations to an MKMapView.
Have a look at this website it may help you http://www.raywenderlich.com/2847/introduction-to-mapkit-on-ios-tutorial