Tag Archives: optimize

Placing Markers in a Memory Optimized way in Google Map V2 in Android

In a recent project I worked on using Google Map V2 API, I had an issue of loading lots of markers unwantedly (Markers that are there but the user is not seeing them), these consumed lots of extra memory and some times the app crashes.
As a solution I found an alternative way to load the markers that are only available in the visible map area.

GoogleMap = theMap;
LatLngBounds bounds = this.theMap.getProjection().getVisibleRegion().latLngBounds;

LatLng placeLL = new LatLng(yourLatitude, yourLangtitude);

	if (bounds.contains(placeLL)) {
	//Do what you wanted to do with the markers inside the visible area
}

So here using the function of the map object created, we are getting the bounds of the visible map area.
Then checking if our LatLng is inside the bound using the function ‘.contains(Latlang)’.
So now you can place your marker in the map if it is inside the bounds. Thats it.

And a small tip, always try to use a image with low size(in photoshop use ‘save for websites’) and try to recycle the bitmaps after use, if you are using it in the project.
🙂

Advertisements

Search Engine Optimization (SEO) – Part 3

SEO Keyword Use

So you’ve researched which keywords you want to target, but just putting the keywords in your <title> and <h1> tags is not enough. If you stop there, you’re not going to be able to cover all the bases or pull in as much search traffic as you could. When doing on-page optimization for your selected keywords, there are three things to take into consideration:

1.Keywords Density – How many times is your keyword mentioned on your site? If it’s too much, you’ll look like a spammer; if it’s too little, you won’t look like a relevant match and the search engines won’t consider your site.

2.Keyword Variation – Altering versions of your keywords will help you capture hidden search engine traffic.

3.Similar Keywords – These are closely related topics to your keywords that will aide the search engines in correctly categorizing your traffic.

Keyword Density

Although some SEOs will talk about aiming for an exact proportion (e.g. the number of times your keyword appears divided by the total number of words on the page), it’s a little too much work for something that will take care of itself as long as you know how to write well! Use your keyword frequently on your site, but not so much that it makes the page look weird or a sentence sound awkward. If you just use the keyword once at the top of the page and then reference the keyword as “it”, for the rest of the article, you’ll definitely be using it too little.

If you want some numbers, you should use your keyword at least three times on the page. This does not include keyword variations.

Keyword Variations

You may have found a couple of high traffic keywords using a keyword research tool, but those estimates often group similar keywords, alternate spellings, and plurals into a single word. Valuable traffic is hidden when using those tools. This hidden traffic lies in all the subtle variations of your keyword that someone may search for.

  • Plurals – The easiest way to optimize your site is to include the plural version of your keyword at least a couple of times on your page. Nearly every keyword can do this (instead of “free hat”, try “free hats”).
  • Misspellings – Although it may make your site look a little unprofessional, including a very common misspelling of your keywrod is one of the easiest ways to rank #1 for that exact spelling and get some free traffic. This is one of the fun things to experiment with after you’ve optimized the rest of your site.
  • Acronyms – If your keyword is an acronym like SEO, write out the words completely (Search Engine Optimization) so that you can target those people who do not know the acronym.

Similar Keywords

If you’re making a page to target “big hats,” consider changing up the adjective “big” to its synonyms, like “huge,” “giant,” “large,” “humongous,” or “oversized.” You can also use the names of specific words that relate to “big hats,” like “cowboy hat” and “sombrero.” By using this tactic, you give yourself a chance to rank for those similar keywords, plus you let the search engines know more about your page and what it’s about. The more a search engine knows about your page, the better off you’re going to be!

Page Depth

Page depth refers to the number of required clicks to get to a page from the homepage. Pages that are available in one click are deemed more important than those that are nearly hidden and require more than 3 clicks to reach. It might seem a little strange, but if you can visualize your website in a tree graph, you will easily notice why certain pages are performing poorly in the search engines.

By organizing your site in this format, you can see which pages are getting a lot of page depth love and which are hurting. If you have a lot of worthless pages and few important product pages, you might take this opportunity to restructure your site.

Anchor Text

Simply getting links from many other websites is not enough for your website to rank well in the search engines. The quality of your anchor text will play a huge factor in ranking your pages for specific keywords, especially competitive ones.

What is Anchor Text?

Anchor text refers to the words that make up a link, they are the words that turn your mouse cursor into a finger-pointing hand. For example, in the sentence, “I really like to go to this store,” “this store” is anchor text for the link.

Why is Anchor Text Important?

Search engines gather data by traveling around the web via links, jumping from page to page. Links are the lifeblood of a search engine and are used as key indicators for identifying the topics of the pages they’re about to go to. If 100 sites link to a site with the link “Texas Architect” or similar words, the search engine can be fairly confident that the site is about an architect in Texas.

Targeted Keywords

If you want a page to rank for a keyword that is particularly difficult, be sure to focus on getting the keyword in your anchor text. Many newbies will request links to the page they’re trying to boost and forget about the anchor text. While getting links to the page is most certainly going to help, you should try to get at least part of your keyword into the anchor text whenever you get the chance.

Keywords and URL Alignment

When getting all of these links with the desired anchor text, make sure that you’re linking to the correct page, as a very common mistake to simply link to the homepage (www.example.com) instead of the page that should be getting the link (www.example.com/rocky-mountains/oysters.php).

Stay Tuned ….

Reference – [1]“Search Engine Optimization (SEO) for Beginners”,”http://www.tizag.com/SEOTutorial/index.php”,[Accessed on 10/04/2012]

Also See – Google’s Search Engine Optimization

Search Engine Optimization (SEO) – Part 2

SEO Title Tag

The first and most important part of your on-page SEO is the title tag (<title></title>).

The benefits of using optimized title tags are three fold:

  1. A user searching for your keyword will see your site’s link highlighted in the search engines if your page’s title is the same as the phrase they searched for. This drastically increases click through and can even give you more traffic than those who rank above you if their title tags are not optimized.
  2. Increase your rankings on the search engines.
  3. Help the engines distinguish between pages that might look similar.

Higher Clickthrough Rates

Search engine optimization isn’t just about showing up number one on search engines. Rather, it’s about getting the all the traffic that you deserve from the search engines. If you rank #6 for “free hats” and you and your competitors forget to include that in the page’s title tag, chances are, the person doing the search won’t see much difference between your site and the others.

However, if you were to change your website’s title text to target your most important keyword phrase “free hats”, then when someone completes the search for “free hats”, they’d see your site show up in bold. This technique will greatly increase the user’s desire to view your site first, as your site looks much more relevant and targeted.

Better Rankings

All too often, people believe that the title tag is a place to list the business and domain name of the website. This is wrong and is wasting one of the easiest ways you can tell the search engines what the a page is about and how they should categorize it. While humans might not notice the title tag, search engines certainly do.

Use this opportunity to choose the most important keyword that you want to go after and get the free ranking boost that so many websites are missing out on. If you still want to include your domain or name of the company, do it after your keyword, followed by a dash (e.g. “free hats – hatsemporium.com”) to show that your keyword is the most important.

Help the Engines Distinguish your Pages

It’s not easy being a search engine. They crawl the web day and night, taking the information from the web and trying to categorize it in a useful manner so that users can find what they’re looking for. Make their job easier. Post clearly what the topic of each page is, using title tags, and help the search engine to distinguish one page from another.

You may have two pages that are quite similar and it may require a little thought to point out how they different. Don’t make the search engines figure out for themselves because they might make a mistake. Instead, make the decision for them. Spell the differences out for them and help your rankings in the process. This is just one strategy in avoiding the duplicate content penalty,

SEO Header and Bold Tags

Although the internet has changed a great deal in the last ten years, one thing that has remained unchanged is the way that webmasters designate topics and things of importance. Topics of a page are often set with header tags <h1> though <h6>, while important items are put in bold to make sure that the user noticed them. However, not just the user notices these attention-grabbing tags. Search engines also use these as primary indicators of what a page is about and what content its creator thought was most important.

Header tags are a great way to help boost your search engine rankings. If you’re creating a page about “free hats” and would like to rank for it, there’s nothing shady at all about including a nice big <h1>Free Hats</h1> at the top of the page to make sure your users and the search engines know what your page’s subject is. However, as with other search engine strategies, it is important not to stuff too many keywords into these tags. A good rule of thumb is to include no more than 3 or 4 <h1> tags per page, and always have at least a paragraph or two of text between your header tags.

A page that consists entirely of header tags looks pretty spammy to search engines, and it isn’t very useful to your visitors.

Bold, Italic, and Emphasis

When you’ve used up your quota of header tags on the page, don’t stress out. There are still plenty of tools to target your keywords with. When mentioning your keywords throughout the page, it’s helpful to put them into italics, bold, or emphasis (<em>) to make sure the search engines know that these words are important.

Often people use a lot of flash animations and CSS <span> tags to format text, but search engines don’t have an easy way of determining either of these. Why make the search engines work harder than they need to? Use these basic HTML tags and help yourself (and the engines) out!


Reference – [1]“Search Engine Optimization (SEO) for Beginners”,”http://www.tizag.com/SEOTutorial/index.php”,[Accessed on 10/04/2012 at 8.30 a.m]
Also See – Google’s Search Engine Optimization

(Don’t Go Away More to Come in SEO)