Showing posts with label Location. Show all posts
Showing posts with label Location. Show all posts

January 06, 2020

My first Geo Location program using Leaflet JS

Hi folks,

Today I am going to explain writing an geo location HTML page with Leaflet JS.

You can find my program in my GIST GitHub List

https://gist.github.com/psrdotcom/85c56bc2ffaadb254e63bde2b3b162d5

Procedure


  • Make the empty HTML page with HTML, HEAD, BODY tags
  • Place the CSS link first in HEAD tag
    • "https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
  • After CSS, paste the Leaflet JS file reference
    • "https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
  • In BODY, create a DIV tag specifying the ID attribute and height and width style attributes
    • id="mapid" style="width: 600px; height: 400px;"
  • Get lat (Latitude) and long (Longitude) of your own choice of location.
  • Take latlong reference from https://www.mapcoordinates.net/en
  • Use map setView to set the location with latlong and zoom level
    • var mymap = L.map('mapid').setView([17.496380,78.393175], 15);
  • Make a marker with popup using marker and bindPopup functions
    • var marker = L.marker([17.496380,78.393175]).addTo(mymap);
    • marker.bindPopup("Hello !! This is JNTU, Hyderabad, India campus.").openPopup();
  • Open your HTML page in any compatible browser
  • You should be able to view your map with specified location and control the map with zoom out and zoom in capabilities.
Please send your feedback and comments to psrdotcom@gmail.com

May 03, 2017

Eclipse reset/enable workspace preference on startup

Hi all,

Today, I have come across a situation where I want to choose the one of the workspaces i have worked before.

In general, eclipse will prompt for workspace location on startup
But, if you have checked "Consider this as default workspace and don't ask again" option, then next time when you start eclipse, you won't get the prompt for workspace selection.

Re-enable/Reset workspace preference on eclipse startup


  1. Click on eclipse "Window->Preferences"
  2. Go to "General->Startup/Shutdown->Workspaces"
  3. Check "Prompt for workspace on startup" or use keyboard shortcut "Alt+w" 
  4. Now, exit the eclipse
  5. Start the eclipse
You should be able to see the workspace selection on eclipse startup screen.

Happy coding!!

Please send your comments and feedback to psrdotcom@gmail.com

February 01, 2014

Change Google + (Plus) details like Date, Description, Location

Hi Friends,

This post related to the change of Google Plus album details like data, description, location etc.

 

Problem

I have got a situation like, after my album photos upload. My latest album was not in the first position in album list.

When I just opened the album, it was showing some old date and I was not able to edit the date of the album.

The current Google + settings once you have uploaded the album.

 

Objective

Update date of your Google + album

 

Resolution Procedure

Please click on this link to redirect to Picasa web albums

https://picasaweb.google.com/lh/myphotos?noredirect=1

Now you can see all your albums

Click on the album which you want to change the album details

Change the “Date” or any other field of your choice

Save it

That’s it. You are done.

Now you can view the updated album list your Google + Albums

 

Please write your queries and comments @ http://psrtechtips.com/contact

 

Blogger Labels: Change,Google,Plus,Date,Description,Location,Friends,album,data,situation,Objective,Update,Procedure,Click,Save,comments,photos,albums

December 30, 2011

Eclipse C C++ CDT Plugin Download and Installation with Link or Location Problem Solution

Hi all,

If you are using Eclipse with Java or any other platform and you are planning to install the C/C++(CDT) Plugin then please follow the steps.

Installation Steps:
  • In Eclipse, Click the Help->"Install New Software"
  • You will get a Install named window
  • Click "Add" button
  • Please remove the dot(.) at the end while adding the CDT Plugin location from the link.
  • In "Install" Window, "Work with" textbox, please type the CDT and you will prompted with different options, Select the desired option and click/hit "Enter/Return" button.
  • It will show the similar kind of screen as shown below
  • You can select the all/desired tools to download
  • Please "Restart Eclipse" to complete the CDT Plugin installation for Eclipse
  • Now you can develop your C/C++ applications with Eclipse

Happy Coding ..


For further queries, please mail to psrdotcom@gmail.com

December 16, 2011

Hyderabad Book Fair / Festival 2011

Hi all,

Today I have visited Hyderabad 26th Book Festival at People's Plaza, Neckles Road, Hyderabad.
I come to know about this book festival, through my friend.

The book festival dates and timings as follows:

Dates:
15 December 2011 to 25 December 2011

Timings: 
2PM to 9PM (Monday to Friday)
12Noon to 9PM (Saturday and Sunday)

There are different types of books available for pre-school children to retired persons.

Those who wants to buy Telugu, English novels and Spirtual, Devotional books, they must visit the book festival.

I have bought Swami Vivekananda Auto Biography and Swamy Ramakrishna Paramahamsa Biography books.
Since, It was a book festival, they gave 10% discount also.

Note:
If you buy books worth more than Rs. 200 then please visit the Kinige, stall No. 109. You will get some gift amount coupon (send to e-mail) to buy e-books from Kinige Web Store

At Kinige stall, you can participate in quiz to answer a question. If you are unable to choose the correct answer they will give another chance with another question. If you can answer any one the question, then you will get gift amount (send to e-mail) to buy e-books from Kinige Web Store.

You need to create an account in Kinige and then Recharge your account with the coupon to buy the e-books. You need to install adobe digital editions to view the e-book.

Please hurry up and buy your own books.

References:
http://hyderabadbookfair.com/
http://kinige.com/

If you have any queries, please mail to psrdotcom@gmail.com

November 01, 2011

Firefox 7 Preferences Files has been changed

Hi everyone,

The developers who want to customise their latest Firefox 7, there is no pref.js (preferences file, which we used to configure the firefox) and user.js (user preferences file).

We can use one and only one preferences file named syspref.js to configure the default firefox.

In Ubuntu it is located under /usr/lib/firefox-7.0.x/defaults/pref/syspref.js

Here we can configure our default homepage and proxies etc.

We can do the same by typing about:config in the browser address bar.

Update your browser and set up according to your convenience.

Please reach me @ psrdotcom@gmail.com @ for queries.

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com